当前位置:网站首页>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")
边栏推荐
- DHCP protocol detailed analysis
- QT qstringlist usage
- (job) C language: Simulation Implementation of ATOI and strncpy, strncat, strncmp
- Some new ideas about time complexity
- HTB-Blue
- 解读AI机器人养宠引领时尚潮流
- R语言ERROR: compilation failed for package ‘****‘
- This blogger has a comprehensive classification of QT. If you are free, go to study and summarize it and record it.
- 关于时间复杂度的一些新认识
- 百度副总裁李硕:数字技术加持下中国劳动力成本上升是好事
猜你喜欢
随机推荐
Cloud development workers must go to work fishing and paddling wechat applet source code
C language: hollow square pattern
Cloud development pocket toolbox wechat applet source code
MySQL 操作数据库数据报错:Fatal error encountered during command execution
看机器人教育引领素质教育主流
MySQL - count(字段)、count(主键)、count(1)、count(*)的区别
Flink kernel source code (VII) Flink SQL submission process
Wechat applet - Advanced chapter Lin UI component library source code analysis button component (II)
PHP process communication series (I) named pipes
Really time NTP service startup command
第八天笔记
Thirty years of MPEG audio coding
解读AI机器人养宠引领时尚潮流
Mysql复合查询(重要)
OWT server source code analysis (4) -- video module analysis of mixer out
向DataFrame中的特定位置添加一行
Etcd implementation of large-scale service governance application practice
【OpenCV】使用OpenCV调用手机摄像头
[opencv] use OpenCV to call mobile camera
第七天笔记








