I just had to put this at the top of my program. Not that great of a solution but it works. I guess this new version of nsight does not have eclipse automatically include the already included headers by default with cuda.
#ifdef __CDT_PARSER__ #undef __CUDA_RUNTIME_H__ #include <cuda_runtime.h> #endif Whats strange now is that when I do this it disables the highlighting of device code in yellow.