I guess you’re getting tripped up by Intellisense. If your project is a proper VS CUDA project and you are compiling with nvcc, you don’t need to include any header files. If you’re judging that “VS is saying the identifier is undefined” based on the intellisense red underline, that is an artifact of intellisense and not necessarily the case if you actually compile the code.
…oh dear god I hope you are kidding! I didn’t even think of that (have experienced with some other cuda functions).
I shall go ahead and finish the app and run it.