CUDA算力表

最新版可以查看NVIDIA官方页面

型号算力
RTX 30908.6
RTX 30808.6
RTX 30708.6
RTX 2080Ti7.5
RTX 20807.5
RTX 20707.5
RTX 20607.5
GTX 1080 Ti6.1
GTX 10806.1
GTX 10506.1

配置代码

Sample flags for generation on CUDA 7 for maximum compatibility:

1
2
3
4
5
6
-arch=sm_30 \
-gencode=arch=compute_20,code=sm_20 \
-gencode=arch=compute_30,code=sm_30 \
-gencode=arch=compute_50,code=sm_50 \
-gencode=arch=compute_52,code=sm_52 \
-gencode=arch=compute_52,code=compute_52

Sample flags for generation on CUDA 8 for maximum compatibility:

1
2
3
4
5
6
7
8
-arch=sm_30 \
-gencode=arch=compute_20,code=sm_20 \
-gencode=arch=compute_30,code=sm_30 \
-gencode=arch=compute_50,code=sm_50 \
-gencode=arch=compute_52,code=sm_52 \
-gencode=arch=compute_60,code=sm_60 \
-gencode=arch=compute_61,code=sm_61 \
-gencode=arch=compute_61,code=compute_61

Sample flags for generation on CUDA 9 for maximum compatibility. Note the removed SM_20

1
2
3
4
5
6
7
8
9
-arch=sm_30 \
-gencode=arch=compute_30,code=sm_30 \
-gencode=arch=compute_50,code=sm_50 \
-gencode=arch=compute_52,code=sm_52 \
-gencode=arch=compute_60,code=sm_60 \
-gencode=arch=compute_61,code=sm_61 \
-gencode=arch=compute_62,code=sm_62 \
-gencode=arch=compute_70,code=sm_70 \
-gencode=arch=compute_70,code=compute_70

本博客所有文章除特别声明外,均采用 CC BY-SA 4.0 协议 ,转载请注明出处!