mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-28 04:46:07 +00:00
[libc] Bump up sm_60's CUDA feature to +ptx63
Summary: The sm_60 GPU is the oldest model that's supported for using the RPC features of the `libc` GPU runtime. This also requires at least `+ptx63` to enable use of the active mask. So, this patch sets that as the minimum.
This commit is contained in:
parent
554d8ab632
commit
a73cd00d87
@ -83,13 +83,13 @@ function(get_nvptx_compile_options output_var gpu_arch)
|
||||
elseif(${gpu_arch} STREQUAL "sm_52")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx60")
|
||||
elseif(${gpu_arch} STREQUAL "sm_53")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx60")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx63")
|
||||
elseif(${gpu_arch} STREQUAL "sm_60")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx60")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx63")
|
||||
elseif(${gpu_arch} STREQUAL "sm_61")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx60")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx63")
|
||||
elseif(${gpu_arch} STREQUAL "sm_62")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx60")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx63")
|
||||
elseif(${gpu_arch} STREQUAL "sm_70")
|
||||
list(APPEND nvptx_options "--cuda-feature=+ptx63")
|
||||
elseif(${gpu_arch} STREQUAL "sm_72")
|
||||
|
Loading…
x
Reference in New Issue
Block a user