- 博客(20)
- 收藏
- 关注
原创 【CUDA】吞吐的概念和测试
使用 bandwidthTest(CUDA SDK)CUDA 自带的 bandwidthTest 工具可以测 GPU 内存带宽。
2025-03-18 17:25:53
213
原创 GPG error: : At least one invalid signature was encountered
执行: docker image prune -f 和 docker container prune -f。以删除未使用的数据并释放磁盘空间。
2024-10-24 17:16:28
223
原创 【Debug记录】/usr/bin/ld: cannot find -lgfortran collect2: error: ld returned 1 exit status
软链接ln
2022-06-09 14:32:10
1135
原创 【Debug记录】gcc升级到9.4后编译error: identifier “__builtin_ia32_rndscalesd_round“ is undefined
gcc升级版本后出错
2022-06-09 11:19:36
1380
原创 【Debug记录】ubuntu中Couldn‘t create temporary file /tmp/apt.conf.xxxx for passing config to apt-key
ubuntu
2022-06-07 14:07:15
2206
1
原创 【Debug记录】从github clone代码时submodule显示无权限
github submodule perssion denied
2022-06-07 13:38:03
1162
原创 【Debug记录】Couldn‘t create temporary file /tmp/xxxx for passing config to apt-key
debug记录
2022-06-06 19:20:35
172
原创 【Debug记录】The following signatures couldn‘t be verified because the public key is not available:xxxxx
第三方key
2022-06-06 15:06:43
298
转载 【CMake学习】list使用
添加链接描述一、介绍cmake的list命令即对列表的一系列操作,cmake中的列表变量是用分号;分隔的一组字符串,创建列表可以使用set命令(参考set命令),例如:set (var a b c d)创建了一个列表 “a;b;c;d”,而set (var “a b c d”)则是只创建了一个变量"a c c d"。list命令的具体格式根据子命令不同会有所区别。下面是list提供的命令list(LENGTH <list><output variable>)list(GET
2022-05-25 18:20:58
5806
1
原创 【CMake学习】find_package() 引入外部依赖包
通过CMake引入官方库cmake官方为我们预定义了许多寻找依赖包的Module,他们存储在path_to_your_cmake/share/cmake-/Modules目录下。如下图:xxxxxxxxx:/usr/share/cmake-3.16/Modules$ ls | grep FindCCMakeFindCodeBlocks.cmakeFindCABLE.cmakeFindCoin3D.cmakeFindCUDAFindCUDA.cmakeFindCups.cmakeFindCU
2022-05-25 17:15:43
744
1
原创 5.2.3.1. Occupancy Calculator
Several API functions exist to assist programmers in choosing thread block size based on register and shared memory requirements.The occupancy calculator API, cudaOccupancyMaxActiveBlocksPerMultiprocessor, can provide an occupancy prediction based on the
2022-05-24 23:41:10
223
原创 【Debug记录】terminate called after throwing an instance of ‘xxxxxx‘
项目场景:问题描述terminate called after throwing an instance of ‘xxxxxx’编译没问题,但运行出错原因分析:可能是内存不足导致;也可能是访问越界解决方案:查看当前所有可用的GPU,选择使用率较低的设备。在代码里import osos.environ[‘CUDA_VISIBLE_DEVICES’] = ‘0’或者在terminal选3号GPU即可解决export CUDA_VISIBLE_DEVICES=3...
2022-05-19 16:14:35
1007
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人