系列索引:CUDA入门教程索引
最新版可以查看NVIDIA官方页面
型号 | 算力 |
---|
RTX 3090 | 8.6 |
RTX 3080 | 8.6 |
RTX 3070 | 8.6 |
RTX 2080Ti | 7.5 |
RTX 2080 | 7.5 |
RTX 2070 | 7.5 |
RTX 2060 | 7.5 |
GTX 1080 Ti | 6.1 |
GTX 1080 | 6.1 |
GTX 1050 | 6.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
|