We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f7bff6 commit 90944d7Copy full SHA for 90944d7
1 file changed
cmake/Modules/cuda_arch_helpers.cmake
@@ -44,6 +44,9 @@ function(set_cuda_arch_from_names)
44
if(Legion_CUDA_ARCH MATCHES "ampere")
45
list(APPEND cuda_archs 80)
46
endif()
47
+ if(Legion_CUDA_ARCH MATCHES "ada")
48
+ list(APPEND cuda_archs 89)
49
+ endif()
50
if(Legion_CUDA_ARCH MATCHES "hopper")
51
list(APPEND cuda_archs 90)
52
@@ -91,6 +94,7 @@ function(add_cuda_architecture_defines)
91
94
add_def_if_arch_enabled("70" "VOLTA_ARCH")
92
95
add_def_if_arch_enabled("75" "TURING_ARCH")
93
96
add_def_if_arch_enabled("80" "AMPERE_ARCH")
97
+ add_def_if_arch_enabled("89" "ADA_ARCH")
98
add_def_if_arch_enabled("90" "HOPPER_ARCH")
99
100
set(${cuda_DEFS} ${_defs} PARENT_SCOPE)
0 commit comments