I just bought a new Win 10 computer with an RTX 2070, installed VS 2019 and the latest CUDA toolkit (10.1).
My CUDA project builds and runs perfectly, so I want to profile it. Pain!
I tried to do ‘Profile CUDA application’ under the VS IDE, but it says the RTX 2070 is unsupported for the Nsight profiler. Huh? The latest profiler does not support one of the latest GPUs?
Still under the VS IDE I selected ‘Profile CUDA application with Nsight Compute’. That ran and apparently profiled because my app ran about 100 times slower. But no results appeared. I looked all over the IDE interface and all over the hard drive, but nothing. No report.
I switched to Nsight Compute outside the IDE. First, I tried ‘Interactive profile’. Again the program ran very slowly, obviously being profiled. But when I exited my program, again there was no report. It was as if I had not run anything.
I switched to just ‘Profile’. It ran very slowly again, apparently profiling. But when I exited my program, I got an error message “The profiler returned an error code 1. Failed to load report. Could not open file.”
So what do I have to do to get a profile of my program? The debugger works perfectly on it, stopping at breakpoints and single-stepping, and it seems that the profiler is running. Just no report!
Thanks for any hints!