testing streaming
manually handle CUdevice objects returned directly from C. Will change in the code generation
work around for seg fault from CUDA 5.5  when we unload the DLL. USe isNativeNull.  added class definitions for stream
updates