From a701940ca7636dd84e17fcc6330691b1d6e49c51 Mon Sep 17 00:00:00 2001 From: Arvind Sudarsanam Date: Tue, 7 May 2024 16:37:40 -0700 Subject: [PATCH] [SYCL][DeviceLib] Fix bug due to erroneous removal of library build option Signed-off-by: Arvind Sudarsanam --- libdevice/cmake/modules/SYCLLibdevice.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/libdevice/cmake/modules/SYCLLibdevice.cmake b/libdevice/cmake/modules/SYCLLibdevice.cmake index 6e8a4ff0c8261..22464766757f0 100644 --- a/libdevice/cmake/modules/SYCLLibdevice.cmake +++ b/libdevice/cmake/modules/SYCLLibdevice.cmake @@ -50,6 +50,7 @@ if ("NVPTX" IN_LIST LLVM_TARGETS_TO_BUILD) string(APPEND sycl_targets_opt ",nvptx64-nvidia-cuda") list(APPEND compile_opts "-fno-sycl-libspirv" + "-fno-bundle-offload-arch" "-nocudalib" "--cuda-gpu-arch=sm_50") endif()