1 of 1 people found this helpful
I think you need profile python interpreter with your script. so try something like this ./sprofile python your_script.py
I am able to profile pyOpenCL using the following command line:
sprofile -t "c:\myPathTo\python.exe" "c:\myPathToPyOpenCLExample\matrix-multiply.py"
Perfect. It works.
On Linux this works too:
./sprofile -t /usr/bin/python ~/workspace/Project/somefile.py