Reputation: 97
I'm trying to run nvprof
profiler to see where my program is spending more time.
But i always get this error:
======== NVPROF is profiling gpu_stuff...
======== Command: gpu_stuff
======== Error: Internal profiler error 15:120======== Warning: Application returned non-zero code 255
======== Error: failed to read result file.
======== Warning: make sure cudaDeviceReset() is called before application exit to flush profile data.
I'm calling cudaDeviceReset()
at the end of code and it is not working yet.
Obs: I have no X-server
disponible, i need to use the profiler in command-line.
Upvotes: 0
Views: 1913
Reputation: 1519
Thanks to Yu Zhou It's because of your CUDA toolkit version not compatible with your driver version.
Upvotes: 2