https://github.com/wilicc/gpu-burn

git clone <https://github.com/wilicc/gpu-burn>
cd gpu-burn
docker build -t gpu_burn .
docker run --rm --gpus all gpu_burn
git clone <https://github.com/wilicc/gpu-burn>
cd gpu-burn/
make

# 测试单精度
./gpu_burn 60

#双精度
./gpu_burn -d 60

#tensor core
./gpu_burn -tc 60

# 可用环境变量指定测哪个显卡.
export CUDA_VISIBLE_DEVICES=0,1