Skip to content

Commit 66f5740

Browse files
committed
Add TODO comment
1 parent 5ed80b9 commit 66f5740

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openmp/runtime/src/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,8 @@ endif()
457457
# Build the module files if a Fortran compiler is available.
458458
# Only LLVM_ENABLE_RUNTIMES=openmp is supported, LLVM_ENABLE_PROJECTS=openmp
459459
# 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.
460462
if(LIBOMP_FORTRAN_MODULES)
461463
configure_file(${LIBOMP_INC_DIR}/omp_lib.h.var omp_lib.h @ONLY)
462464
configure_file(${LIBOMP_INC_DIR}/omp_lib.F90.var omp_lib.F90 @ONLY)

0 commit comments

Comments
 (0)