当前位置:网站首页>cuda-gdb提示:/tmp/tmpxft_***.cudafe1.stub.c: No such file or directory.
cuda-gdb提示:/tmp/tmpxft_***.cudafe1.stub.c: No such file or directory.
2022-07-29 02:43:00 【凳子花*】
最近通过cuda-gdb调试程序,当要进入到kernel的时候提示:
百度了一下,资料较少,根据Strange “No such file or directory” error in cuda-gdb中的提示,需要在nvcc编译的时候添加-keep选项,尝试了一下,果然成功了。
我是使用的CMake来管理工程,修改的时候只需要以下代码即可:
set(CMAKE_CUDA_FLAGS "${CMAKE_CUDA_FLAGS} -O0 -g -G -keep")
边栏推荐
- Day 8 notes
- Thirty years of MPEG audio coding
- Notes on the seventh day
- 并发模式之单例和不变模式
- Groupby method
- (job) C language: Simulation Implementation of ATOI and strncpy, strncat, strncmp
- Tesla neural network model hydranet
- [QNX Hypervisor 2.2用户手册]9.11 ram(更新中)
- Really time NTP service startup command
- sqlilabs less-32~less-33
猜你喜欢

第七天笔记

会议OA之反馈功能

Which is a good automatic account distribution system?

混淆矩阵学习笔记

区区区间---线段树lazy标记板子题

并发模式之异步回调Future模式

C语言:判断字母

Small program source code for campus stray cat information recording and sharing / wechat cloud development medium big cat spectrum small program source code

golang 协程的实现原理

QT screen adaptive automatic layout, drag the window to automatically grow larger and smaller (I)
随机推荐
解读AI机器人养宠引领时尚潮流
STP协议(生成树协议)
C language: Little Lele and hexadecimal conversion
Advanced architects, 16 common principles of microservice design and Governance
DHCP协议详细解析
Pytest环境部署+用例执行管理+用例参数化
看机器人教育引领素质教育主流
Self organization is the two-way rush of managers and members
Jinshan cloud returns to Hong Kong for listing: Hong Kong stock rush of Chinese to B cloud manufacturers
Pgzero aircraft war
10.书写规则-文件搜寻
Analysis of OWT server source code (III) -- video module analysis of mixer in
Source code of Jiugongge heart puzzle Applet / source code of main wechat applet with traffic
Polygon zkevm - Introduction to HERMEZ 2.0
外挂---线段树懒标记板子+简单数学推理
The origin of Nacos' name
Available data sets for scene classification tasks (part)
.net serialize enumeration as string
Verilog的时间系统任务----$time、$stime、$realtime
常用hooks总结