Skip to content

Commit 48c2770

Browse files
committed
translate CUDAARCHS=native to -gpu=ccnative
1 parent 527932c commit 48c2770

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ if(STDEXEC_ENABLE_CUDA)
318318
string(PREPEND _arch "cc")
319319
elseif(_arch MATCHES "^[0-9]+$")
320320
string(PREPEND _arch "cc")
321+
elseif(_arch MATCHES "^native$")
322+
string(PREPEND _arch "cc")
321323
endif()
322324
list(APPEND _gpus "${_arch}")
323325
endforeach()

0 commit comments

Comments
 (0)