We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ed80b9 commit 66f5740Copy full SHA for 66f5740
openmp/runtime/src/CMakeLists.txt
@@ -457,6 +457,8 @@ endif()
457
# Build the module files if a Fortran compiler is available.
458
# Only LLVM_ENABLE_RUNTIMES=openmp is supported, LLVM_ENABLE_PROJECTS=openmp
459
# has been deprecated.
460
+# TODO: openmp/runtimes/CMakeLists.txt is only included for host
461
+# (non-amdgpu/nvptx) targets, but device side code needs a module as well.
462
if(LIBOMP_FORTRAN_MODULES)
463
configure_file(${LIBOMP_INC_DIR}/omp_lib.h.var omp_lib.h @ONLY)
464
configure_file(${LIBOMP_INC_DIR}/omp_lib.F90.var omp_lib.F90 @ONLY)
0 commit comments