Judging by past StackOverflow questions (e.g., here and here), it seems that one should be able to profile PyCUDA programs using nvvp. When I tried running nvvp in CUDA 6.5 on a PyCUDA script that runs without any problems from the command line, profiling failed with the following error:
Unable to profile application.
org.eclipse.core.rntime.CoreException: Reference to undefined variable args
Has anyone successfully used nvvp 6.5 with PyCUDA? I'm using PyCUDA 2014.1 manually built against CUDA 6.5 on Ubuntu 14.04. The script itself has executable permissions and #!/usr/bin/env python
at the top, and I specified the script path as the file to run.