当前位置:网站首页>解决nvprof 报错ERR_NVGPUCTRPERM - The user does not have permission to profile on the target device.
解决nvprof 报错ERR_NVGPUCTRPERM - The user does not have permission to profile on the target device.
2022-06-25 17:36:00 【Gene_2022】
一、问题描述
在使用nvprof出现权限不足问题
nvprof --events branch,divergent_branch ./Simple_Divergence

二、解决方法:
1.查看nvvp路径
which nvprof
/usr/local/cuda-10.2/bin/nvprof
2.编辑sudoers
把/usr/local/cuda-10.2/bin加到Defaults secure_path后面,保存并退出。
sudo su
vim /etc/sudoers
3.运行nvprof
在nvprof 前面加个sudo即可。
sudo nvprof --events branch,divergent_branch ./Simple_Divergence

边栏推荐
- Find the longest substring length satisfying the condition
- [matlab] data interpolation
- About Equilibrium - Simplified bottleneck model
- Jerry's system clock setting is reset or invalid [chapter]
- Precautions for using timer_cap.c of Jerry [chapter]
- 杰理之SPI 从机使用注意事项【篇】
- Jericho's method of obtaining reset source and wakeup IO port [chapter]
- HMS Core机器学习服务实现同声传译,支持中英文互译和多种音色语音播报
- DDD concept is complex and difficult to understand. How to design code implementation model in practice?
- conda安装的py3.6和py3.7
猜你喜欢

Uncover ges super large scale graph computing engine hyg: Graph Segmentation

移动端异构运算技术 - GPU OpenCL 编程(基础篇)
![Precautions for the use of Jerry's wake-up mouth [chapter]](/img/01/3bfba9a486eb7fa3c0a888bb3ea2d2.png)
Precautions for the use of Jerry's wake-up mouth [chapter]

WARNING: Unsupported upgrade request.

杰理之adc_get_voltage 函数获取电压值不准【篇】

杰理之增加加密文件播放功能【篇】

杰理之获取复位源和唤醒的 IO 口的方法【篇】

【UVM实战 ===> Episode_2 】~ VIP、VIP的开发、VIP的发布

Learning Tai Chi maker mqtt (II) basic principles of mqtt

使用DiskGenius拓展系統盤C盤的容量
随机推荐
华为云GaussDB(for Redis)揭秘第19期:GaussDB(for Redis)全面对比Codis
TLV解码
国泰君安证券靠谱吗?是否合法?开股票账户安全吗?
什么是算子?
About queryinterface functions
数据挖掘之时间序列分析[通俗易懂]
DDD concept is complex and difficult to understand. How to design code implementation model in practice?
Precautions for the use of Jerry's wake-up mouth [chapter]
力扣每日一题-第27天-561.数组拆分Ⅰ
Super Full Metal PBR Multi - channel Mapping Materials website collation
[compilation principle] overview
揭秘GES超大规模图计算引擎HyG:图切分
golang sort slice int
【UVM实战 ===> Episode_2 】~ VIP、VIP的开发、VIP的发布
Vscode / * * generate function comments
[matlab] curve fitting
杰理之定时器使用注意事项【篇】
[efficiency] another note artifact is open source!
Interrupt operation: abortcontroller learning notes
Assembly language (5) register (memory access)