I wanted to run the profiler on my code. I have CUDA 5.0 installed and have CentOS 6.0 as my operating system. Firstly, I could not find cudaprof anywhere on my system. I searched on internet and came to know that nvprof can be used to profile from command line. So, I compiled my code using -g and -G options and ran it using the command:
nvprof -o profileOutput -s ./exe args.
But I am getting the following error:
terminate called after throwing an instance of 'thrust::system::system_error'
what(): unspecified launch failure
======== Warning: Application received signal 6
======== Error: failed to read result file
I am not understanding what wrong am I doing.
Also, What is the location of cudaprof on Linux system with CUDA 5.0 installed?