cuda profiler error

Hi all,

I get the following error when I try to use cuda profiler to monitor my project.
The problem is I don’t get this error when I use the profiler on one of the existing nvidia sample projects.

My projects executes completely with no errors. But, I have no clue what I’m doing wrong here. Any suggestions???

Below is the error I get:


=== Start profiling for session ‘Session2’ ===
Start program xterm -e /home/maryam/NVIDIA_CUDA_SDK/bin/linux/release/denoising, run #1
Program run #1 completed.
Error -97 in reading profiler output.
Unable to open file.


Any help???

in your project do you use any printf function to display the result?
this function will make your program wait until you do some thing (for example: in the tutorial project support by NVIDIA, they alway show “press ENTER to exit” this command will make your program alway at the running case untill you press ENTER. ) so you should delete this command, build your project again,
and then try to use visual profiler to monitor your program
goodluck :D