[Openmp-commits] [PATCH] D101265: [OpenMP][CMake] Use in-project clang as CUDA->IR compiler.
Johannes Doerfert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Apr 28 11:19:40 PDT 2021
jdoerfert added inline comments.
================
Comment at: openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt:43
+ # (MacOS, BSDs). LLVM_ENABLE_RUNTIMES=openmp should itself set
+ # LIBOMPTARGET_NVPTX_CUDA_COMPILER instead.
set(cuda_compiler ${CMAKE_C_COMPILER})
----------------
> LLVM_ENABLE_RUNTIMES=openmp should itself set LIBOMPTARGET_NVPTX_CUDA_COMPILER instead.
That seems sensible. And then we could emit a warning/note here and above.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101265/new/
https://reviews.llvm.org/D101265
More information about the Openmp-commits
mailing list