- 下载软件
# wget https://codeload.github.com/wilicc/gpu-burn/zip/master
2、解压缩
# unzip gpu-burn-master.zip
3、进入目录编译(确保CUDA环境变量已经配置成功 nvcc -v能显示结果)
# cd gpu-burn-master
# yum install gcc*
# make
4、编译成功后,会在当前目录生成gpu_burn这个文件
# gpu_burn //稳定性测试 gpu_burn 500 快速测试 gpu_burn 100
5、指定CPU卡进行测试
# export CUDA_VISIBLE_DEVICES=0,1
# ./gpu_burn 100