Skip to content

Commit fd66059

Browse files
committed
update compiler support for Ampere architecture devices
1 parent ac6a3ce commit fd66059

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/op/cuda/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ if (${CUDA_VERSION_MAJOR} GREATER "10")
2828
-gencode arch=compute_61,code=sm_61; # Pascal - GTX 1080, GTX 1070, GTX 1060, GTX 1050, GTX 1030, Titan Xp, Tesla P40, Tesla P4, Discrete GPU on the NVIDIA Drive PX2
2929
-gencode arch=compute_70,code=sm_70; # Volta - GV100/Tesla V100, GTX 1180 (GV104)
3030
-gencode arch=compute_75,code=sm_75; # Turing - RTX 2080, Titan RTX, Quadro R8000
31+
-gencode arch=compute_80,code=sm_80; # Anpere - A100
32+
-gencode arch=compute_86,code=sm_86; # Anpere - RTX 3090
3133
-O3; -Xcompiler -fPIC;
3234
)
3335
elseif (${CUDA_VERSION_MAJOR} STREQUAL "10")

0 commit comments

Comments
 (0)