[llvm] [OFFLOAD] Add plugin with support for Intel oneAPI Level Zero (PR #158900)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 21 08:37:43 PDT 2025
================
@@ -89,4 +89,24 @@ if(LIBOMPTARGET_AMDGPU_ARCH)
endif()
endif()
+################################################################################
+# Looking for Level0
+################################################################################
+find_path(LIBOMPTARGET_DEP_LEVEL_ZERO_INCLUDE_DIRS NAMES level_zero/ze_api.h)
+
+if(NOT LIBOMPTARGET_DEP_LEVEL_ZERO_INCLUDE_DIRS)
+ set(LIBOMPTARGET_DEP_LEVEL_ZERO_FOUND FALSE)
+ message(STATUS "Could NOT find Level Zero. Missing includes.")
----------------
jhuber6 wrote:
I meant all of them
https://github.com/llvm/llvm-project/pull/158900
More information about the llvm-commits
mailing list