diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-04-21 13:24:27 -0500 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-04-21 13:27:45 -0500 |
commit | a73cd00d87321a6fb9dc91f952d3ec53b6e4019d (patch) | |
tree | 1d4240a38eb7ee7cb03f8482b0a214dbb6453139 | |
parent | 554d8ab63268f1edfff4b59f5613a3a06d4dca4d (diff) | |
download | llvm-a73cd00d87321a6fb9dc91f952d3ec53b6e4019d.zip llvm-a73cd00d87321a6fb9dc91f952d3ec53b6e4019d.tar.gz llvm-a73cd00d87321a6fb9dc91f952d3ec53b6e4019d.tar.bz2 |
[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.
-rw-r--r-- | libc/cmake/modules/LLVMLibCObjectRules.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libc/cmake/modules/LLVMLibCObjectRules.cmake b/libc/cmake/modules/LLVMLibCObjectRules.cmake index fc4cae6..c3fe798 100644 --- a/libc/cmake/modules/LLVMLibCObjectRules.cmake +++ b/libc/cmake/modules/LLVMLibCObjectRules.cmake @@ -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") |