Nsight compute error: kernel profiling is not supported on this device


I’m trying to profile a CUDA kernel running on a remote machine using Nsight Compute.
I installed CUDA 10 on both local (where I run Nsight Compute) and target machine (where I run the kernel on a Tesla V100 GPU).
I’m able to profile the kernel using nvprofbut if I try to use nv-nsight-cu I get the error: kernel profiling is not supported on this devicedespite the command nv-nsight-cu-cli --list-chips returns the architecture gv100 which is the one of the Tesla V100.
I tried to build the program with and without the --arch flag but nothing changes.
What can I do? Thanks :-)

Are you still stuck with this issue? Can you try using a newer version of Nsight Compute?

I had the same problem.
when I add the path of nv-nsight-cu-cli into /etc/sudoers, and run nv-nsight-cu-cli as sudo nv-nsight-cu-cli, the problem is disappear.

Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/usr/local/cuda/bin"