nvprof on Win7/x64: "No CUDA application was profiled"

Does anyone have a checklist of potential issues that might explain why the command-line nvprof doesn’t capture kernel launches on a particular .exe but the Visual Profiler (nvvp) works just fine?

The .exe in questions passes cuda-memcheck with no errors and nvprof works fine with other CUDA .exe’s in the very same directory.

Just wondering if people have any quick ideas since it’s convenient to use the command-line nvprof utility.

The solution is… you must include the “.exe” suffix or nvprof will not profile the Windows executable.