Search code examples
cudaopenclnvidiaprofiler

nvprof application not found


I am trying to use Nvidia nvprof to profile my CUDA and OpenCL programs. However, whatever benchmark I choose, the only output is ======== Error: application not found. I have tried both CUDA and OpenCL benchmarks, and recompiled them several times, but it seems helpless.

My CUDA version: 4.2

NVIDIA Driver version: 334.21


Solution

  • Different from AMD sprofile, ./ is needed before the application name on Linux.

    So you can call the profiler with this command: nvprof ./ApplicationName