小编bjd*_*385的帖子

无法使用 NVreg_RestrictProfilingToAdminUsers=0 解析 NVIDIA/nvprof ERR_NVGPUCTRPERM

我刚刚购买了 RTX 2060,到目前为止,在我的环境/设置中一切运行良好。然而,我仍然无法分析我的代码——

(nvidia) brandon@b350-gaming-pc:~/projects/nvidia$ nvprof ./example.py 
==29983== NVPROF is profiling process 29983, command: python3 ./example.py
Time: 0.05056905746459961
==29983== Warning: ERR_NVGPUCTRPERM - The user does not have permission to profile on the target device. See the following link for instructions to enable permissions and get more information: https://developer.nvidia.com/ERR_NVGPUCTRPERM 
==29983== Profiling application: python3 ./example.py
==29983== Profiling result:
No kernels were profiled.
No API activities were profiled.
==29983== Warning: Some profiling data are not recorded. Make sure cudaProfilerStop() or cuProfilerStop() is called …
Run Code Online (Sandbox Code Playgroud)

ubuntu nvidia

4
推荐指数
1
解决办法
3853
查看次数

标签 统计

nvidia ×1

ubuntu ×1