First of all, I have Win10, VS2015Pro, NSight 5.6, GeForce 960M, display driver 398.36, and CUDA 9.2.
I have a small project which uses CUDA, and I’d like to debug my kernel. The project however needs a certain environmental variable to run, an addendum to PATH, which I don’t want to set globally, via the OS, cause it would mess up other things. Thus, I set it via the visual studio project properties.
Now, the problem is that when I “Start CUDA debugger (Legacy)”, NSight doesn’t pass on the environmental variables I set in VS to the program.
Is there checkbox I’m missing in NSight settings, or is this a feature NSight currently doesn’t support?