Nsight Compute error:"Profiling is not supported on device 0"

Recently I’ve switched CUDA tool kits 10.1 to 11.1 and try to use Nsight Compute to replace Nsight profiler. But when I used Nsight profiler, it worked, but Nsight Compute tells me there is an error so that I can’t profiling

But Nsight System works, and tells me that there is some kernel function here.

Anyone know how to deal with this issue?