fixed or removed incorrect assertions
foreign call from PTX wrapper to PTX runtime requires a stub
Add additional device checks and compute capability checks for CUDA devices found on Linux.
added PTX support for loading a boolean field
implemented GC locking for duration of a PTX kernel call
disable printing of CUDA errors unless TraceGPUInteraction is enabled
Merge.