[Openmp-commits] [PATCH] D44992: [OpenMP] enable bc file compilation using the latest clang

Guansong Zhang via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Apr 3 08:04:30 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rOMP329072: [OpenMP] enable bc file compilation using the latest clang (authored by guansong, committed by ).

Repository:
  rOMP OpenMP

https://reviews.llvm.org/D44992

Files:
  libomptarget/deviceRTLs/nvptx/CMakeLists.txt


Index: libomptarget/deviceRTLs/nvptx/CMakeLists.txt
===================================================================
--- libomptarget/deviceRTLs/nvptx/CMakeLists.txt
+++ libomptarget/deviceRTLs/nvptx/CMakeLists.txt
@@ -145,6 +145,7 @@
       # no other compiler capable of generating bitcode from cuda sources.
       set(CUDA_FLAGS
           -emit-llvm
+          -fcuda-rdc
           -O1
           -Xclang -target-feature
           -Xclang +${CUDA_PTX_VERSION}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44992.140797.patch
Type: text/x-patch
Size: 470 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20180403/e7cd7b1d/attachment.bin>


More information about the Openmp-commits mailing list