Skip to content

Commit 25abeb4

Browse files
sommerlukastdeng5
authored andcommitted
Workaround DPCTL Level Zero issue (intel#242)
The static linking of the Level Zero loader into the Level Zero adapter in intel/llvm#17104 causes DPCTL's logic to detect the name of the Level Zero loader library to fail: IntelPython/dpctl#2022 This in turn causes the creation of a SYCL `kernel_bundle` from SPIR-V in the Python interface to fail and leads to CI failures on unrelated branches. This PR brings a workaround for this issue, by using a CMake fix for DPCTL.
1 parent 9919c65 commit 25abeb4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.github/actions/install-dpctl/action.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ runs:
2929
python scripts/build_locally.py --c-compiler=$DPCPP_PATH/bin/clang \
3030
--cxx-compiler=$DPCPP_PATH/bin/clang++ \
3131
--compiler-root=$DPCPP_PATH/bin \
32-
--cmake-opts="-DCMAKE_INCLUDE_PATH=/lib/x86_64-linux-gnu"
32+
--cmake-opts="-DCMAKE_INCLUDE_PATH=/lib/x86_64-linux-gnu -DLIBZE_LOADER_FILENAME=libze_loader.so.1"

‎.github/workflows/intel_pvc_python_test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
uses: ./.github/actions/install-dpctl
4848
with:
4949
DPCTL_URL: https://github.com/sommerlukas/dpctl.git
50-
DPCTL_BRANCH: additional-kernel-param-types
50+
DPCTL_BRANCH: rebase-kernel-param
5151
DPCTL_PATH: ~/dpctl
5252
DPCPP_PATH: ~/dpcpp
5353
VENV_PATH: ~/.venv

0 commit comments

Comments
 (0)