智星云技术文档:GPU测速教程

安装gpu burn

git clone https://github.com/wilicc/gpu-burn
cd gpu-burn/
make

测试

./gpu_burn 60
100.0%  proc'd: 14280 (7373 Gflop/s) - 13390 (6997 Gflop/s) - 15912 (7110 Gflop/s) - 13184 (7055 Gflop/s) - 13464 (7369 Gflop/s) - 13974 (7351 Gflop/s) - 16626 (7470 Gflop/s
100.0%  proc'd: 14280 (7373 Gflop/s) - 13390 (6997 Gflop/s) - 15912 (7110 Gflop/s) - 13184 (7055 Gflop/s) - 13566 (7102 Gflop/s) - 13974 (7351 Gflop/s) - 16626 (7470 Gflop/s
100.0%  proc'd: 14382 (7224 Gflop/s) - 13390 (6997 Gflop/s) - 15912 (7110 Gflop/s) - 13184 (7055 Gflop/s) - 13566 (7102 Gflop/s) - 13974 (7351 Gflop/s) - 16626 (7470 Gflop/s
100.0%  proc'd: 14382 (7224 Gflop/s) - 13390 (6997 Gflop/s) - 15912 (7110 Gflop/s) - 13184 (7055 Gflop/s) - 13566 (7102 Gflop/s) - 13974 (7351 Gflop/s) - 16728 (7458 Gflop/s
100.0%  proc'd: 14382 (7224 Gflop/s) - 13390 (6997 Gflop/s) - 16014 (6994 Gflop/s) - 13184 (7055 Gflop/s) - 13566 (7102 Gflop/s) - 13974 (7351 Gflop/s) - 16728 (7458 Gflop/s) - 14688 (7569 Gflop/s)   
errors: 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0   temps: 59 C - 69 C - 66 C - 65 C - 67 C - 65 C - 60 C - 63 C 
Killing processes.. Freed memory for dev 7
Uninitted cublas
Freed memory for dev 5
Uninitted cublas
Freed memory for dev 1
Freed memory for dev 4
Uninitted cublas
Uninitted cublas
Freed memory for dev 3
Freed memory for dev 0
Uninitted cublas
Uninitted cublas
Freed memory for dev 6
Uninitted cublas
Freed memory for dev 2
Uninitted cublas
done

Tested 8 GPUs:
        GPU 0: OK
        GPU 1: OK
        GPU 2: OK
        GPU 3: OK
        GPU 4: OK
        GPU 5: OK
        GPU 6: OK
        GPU 7: OK

这样我们就能看到每张gpu的性能了

测试单精度

./gpu_burn 60

双精度

./gpu_burn -d 60

tensor core

./gpu_burn -tc 60

可用环境变量指定测哪个显卡

export CUDA_VISIBLE_DEVICES=0,1
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值