diff --git a/libc/cmake/modules/LLVMLibCObjectRules.cmake b/libc/cmake/modules/LLVMLibCObjectRules.cmake index fc4cae69c9ad..c3fe7982011c 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")