diff options
-rw-r--r-- | openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt index 312cc3de0f3..757b5bcfac0 100644 --- a/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt +++ b/openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt @@ -145,6 +145,7 @@ if(LIBOMPTARGET_DEP_CUDA_FOUND) # 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} |