-
Notifications
You must be signed in to change notification settings - Fork 771
[UR] [L0] Update UR to link the Loader as static #17104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
858bf8e
to
ede56fc
Compare
f2acc4b
to
21a5d24
Compare
21a5d24
to
58af49a
Compare
58af49a
to
2d50a46
Compare
8813cf5
to
5111c42
Compare
36184a8
to
ca6e297
Compare
ca6e297
to
5be38f0
Compare
5be38f0
to
2594d84
Compare
2594d84
to
6c3afe7
Compare
only failure so far is actually on opencl, not L0 after the last updates. |
- [L0] Update to build L0 Adapter with static loader in all times - Fix urKernelCreateWithNativeHandle to properly init L0 before use - Fix v2 tests that directly link Loader which statically link Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
Signed-off-by: Neil R. Spruit <[email protected]>
6c3afe7
to
fe0d8a5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add some UR folks to review "devops" part explicitly? I'm not sure what our long-term "CODEOWNERS" policy for UR-specific CI would be.
env: | ||
ZE_ENABLE_LOADER_DEBUG_TRACE: 1 | ||
ZE_DEBUG: 1 | ||
run: env UR_CTS_ADAPTER_PLATFORM="${{matrix.adapter.platform}}" ctest -C ${{matrix.build_type}} --test-dir ${{github.workspace}}/build --output-on-failure -L "conformance" --timeout 600 -VV |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we move UR_CTS_ADAPTER_PLATFORM
to env:
section as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that would be best added in a separate PR to improve the settings in the UR workflows. The additional L0 envs were for seeing when the loader is init in case of failures.
@intel/llvm-gatekeepers , since a member or UR team has approved these changes, can we have this merged? This only affects the UR code and CI. Thank you for your time! |
This still requires approvall from @intel/dpcpp-devops-reviewers |
luckily i am both in devops and gatekeepers :P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm assuming andrei's feedback is addressed in a separate pr
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.
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.
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.
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.
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.
SYCL nightly and future builds now link libur_adapter_level_zero to the level zero loader statically, so detecting through readelf is no longer possible For this case, we instead set the default Level Zero Loader filename to be 'libze_loader.so.1,' which is likely to not change See: intel/llvm#17104
SYCL nightly and future builds now link libur_adapter_level_zero to the level zero loader statically, so detecting through readelf is no longer possible For this case, we instead set the default Level Zero Loader filename to be 'libze_loader.so.1,' which is likely to not change See: intel/llvm#17104
SYCL nightly and future builds now link libur_adapter_level_zero to the level zero loader statically, so detecting through readelf is no longer possible For this case, we instead set the default Level Zero Loader filename to be 'libze_loader.so.1,' which is likely to not change See: intel/llvm#17104
Migrated from oneapi-src/unified-runtime#2667