I am trying to do some debugging with a project I am working on. I started Nsight monitor, and started cuda debugging after a successful build. However, I got an error message: the breakpoint will not be hit. No cuda device code for source file. Did you enable GPU debug information in your project?
Then, I went to project properties --> configuration properties --> cuda C/C++, I made sure that “Generate GPU Debug information” is set to YES(-G) for both device and host. I also did a clean and rebuild for the project, but I still got the same error.
Any insights on where the problem could be?
Thanks in advance!