Copied from [post=“472916”]CUDA Visual Profiler generating csv that itself cannot read[/post]
CUDA Visual Profile on linux error when reading csv with # lines.
When using the CUDA Visual Profiler 1.0.11 on a program, it will generate temp_cuda_profiler_0.csv while running. The file starts out with these lines:
I think the problem is that you have moved to a newer version (2.1) of CUDA toolkit and driver - but you are still using the older version (1.0) of CUDA Visual Profiler. You should move to using CUDA Visual Profiler v 1.1. Let me know if this solves the problem.
How do I get the the profile output to flush to the output file? I ask this because when I run one of my programs, I get no data rows, just the headers. However another program I have calls the kernel many more times, and periodically the output is flushed. Am I missing something from the exit of the program? I tried exit(0) and cudaThreadExit().