Minor fixes in CUDAContext.c and CUDAContext.h
Merge pull request #167 from millecker/merge3

Minor fixes in CUDAContext.c and CUDAContext.h