[llvm] [offload] Add `dlwrap::loaded` function to check for optional symbols (PR #210737)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 30 05:14:05 PDT 2026
================
@@ -8,7 +8,13 @@ target_compile_definitions(omptarget.rtl.cuda PRIVATE OFFLOAD_MIN_CUDA_VERSION=$
find_package(CUDAToolkit QUIET ${OFFLOAD_MIN_CUDA_VERSION})
-if(CUDAToolkit_FOUND AND NOT "cuda" IN_LIST LIBOMPTARGET_DLOPEN_PLUGINS)
+if (WIN32 AND NOT "cuda" IN_LIST LIBOMPTARGET_DLOPEN_PLUGINS)
----------------
jhuber6 wrote:
Couldn't we just check this once? Presumably on Windows this list should contain everything.
https://github.com/llvm/llvm-project/pull/210737
More information about the llvm-commits
mailing list