[Openmp-commits] [openmp] bb38d7f - [libomptarget][nfc][amdgcn] Use precise triple for devicertl build

Jon Chesterfield via Openmp-commits openmp-commits at lists.llvm.org
Mon Mar 15 13:24:26 PDT 2021


Author: Jon Chesterfield
Date: 2021-03-15T20:24:13Z
New Revision: bb38d7ff05c2ed91ef01d7f15454faec6540b839

URL: https://github.com/llvm/llvm-project/commit/bb38d7ff05c2ed91ef01d7f15454faec6540b839
DIFF: https://github.com/llvm/llvm-project/commit/bb38d7ff05c2ed91ef01d7f15454faec6540b839.diff

LOG: [libomptarget][nfc][amdgcn] Use precise triple for devicertl build

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 f1ec8221ec56..8ba057206b82 100644
--- a/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
+++ b/openmp/libomptarget/deviceRTLs/amdgcn/CMakeLists.txt
@@ -102,7 +102,7 @@ macro(add_cuda_bc_library)
     -c
     -std=c++14
     -ffreestanding
-    -target amdgcn
+    -target amdgcn-amd-amdhsa
     -emit-llvm
     -Xclang -aux-triple -Xclang x86_64-unknown-linux-gnu # see nvptx
     -fopenmp -fopenmp-cuda-mode -Xclang -fopenmp-is-device


        


More information about the Openmp-commits mailing list