pythoncudatensorflownvprof

Unable to import nvprof generated profile data


I am trying to profile a TensorFlow based code using nvprof. I am using following command for this

nvprof  python ass2.py

The program runs successfully but at the end it shows following error.

==49791== Profiling application: python ass2.py
======== Error: Unable to import nvprof generated profile data.

Solution

  • I don't know the exact reason but using the full path of nvprof /usr/bin/nvprof solved the problem.