message: [OpenMP] enable bc file compilation using the latest clang
  Summary: adding cuda-rdc flag to allow extern global data
  Reviewers: grokos
  Subscribers: gregrodgers, mgorny, openmp-commits
  Tags: #openmp
diff: @@ -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}
  