3
votes

When I try to run nvprof command in Command Prompt, System Erros pops up and says "The code execution cannot proceed because cupti64_102.dll was not found. Reinstall the program may fix this problem."

I have installed the CUDA Toolkit 10.2 but cupti64_102.dll is not in /bin.

System: Windows 10, Quadro K4200, CUDA10.2, CUDA Toolkit 10.2

1
it won't be in /bin. You have to locate where it is and add it to your PATH variable. See here. You have to add something like C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\extras\CUPTI\lib64 to your PATH.Robert Crovella
This solved the issue. I added a PATH to extras and now it works. Thank you.john mori
@ Robert Crovella is right.Aashish Pawar
this link may also be of interest, after the PATH issue is fixed.Robert Crovella

1 Answers

5
votes

Just go to Environment Variables select path

Add the following string to your path

C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.2\extras\CUPTI\lib64

then nvprof will work as intended.