[Openmp-commits] [openmp] 93cbf62 - [libomptarget][nfc] Build amdgcn deviceRTL with nogpulib
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Wed Nov 4 03:29:35 PST 2020
Author: Jon Chesterfield
Date: 2020-11-04T11:29:22Z
New Revision: 93cbf622fc3c185c6b0436c9e0c8ecdf0e02a226
URL: https://github.com/llvm/llvm-project/commit/93cbf622fc3c185c6b0436c9e0c8ecdf0e02a226
DIFF: https://github.com/llvm/llvm-project/commit/93cbf622fc3c185c6b0436c9e0c8ecdf0e02a226.diff
LOG: [libomptarget][nfc] Build amdgcn deviceRTL with nogpulib
Added:
Modified:
openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
Removed:
################################################################################
diff --git a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
index 1a24bfd6f887..8bb395f1126f 100644
--- a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
+++ b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
@@ -105,6 +105,7 @@ macro(add_cuda_bc_library)
--cuda-device-only
-Wno-unused-value
-x hip
+ -nogpulib -nogpuinc
-O${optimization_level}
--cuda-gpu-arch=${mcpu}
${CUDA_DEBUG}
More information about the Openmp-commits
mailing list