get rid of cuda.h usage
Merge pull request #3445 from jet47:get-rid-of-cuda-h