Skip to content

[UR][L0] Fix runtime library linkage failure #17347

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

Closed
wants to merge 1 commit into from

Conversation

PatKamin
Copy link
Contributor

@PatKamin PatKamin commented Mar 7, 2025

Fix failure of mismatching runtime library types when linking ur_adapter_level_zero.dll with ze_loader.lib.

@@ -63,6 +63,22 @@ if (NOT DEFINED LEVEL_ZERO_LIBRARY OR NOT DEFINED LEVEL_ZERO_INCLUDE_DIR)
FetchContent_MakeAvailable(level-zero-loader)
FetchContent_GetProperties(level-zero-loader)

if(WIN32 AND level-zero-loader_SOURCE_DIR)
# apply runtime library patch
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this probably should be under if(MSVC). Also, instead of patching the cmakes, isn't it possible to replace the CXX_FLAGS variables?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, works locally

Fix failure of mismatching runtime library types when linking
ur_adapter_level_zero.dll with ze_loader.lib.
@PatKamin PatKamin marked this pull request as ready for review March 7, 2025 14:21
@PatKamin PatKamin requested a review from a team as a code owner March 7, 2025 14:21
@PatKamin
Copy link
Contributor Author

PatKamin commented Mar 7, 2025

Failure in SYCL Pre Commit on Linux job not related with changes from this PR which affect Windows only.

@PatKamin
Copy link
Contributor Author

Closing in favor of #17366

@PatKamin PatKamin closed this Mar 11, 2025
AlexeySachkov added a commit that referenced this pull request Apr 1, 2025
This is a joined cherry-pick of #17347 and #17105
made to align disabled tests between `sycl` and `sycl-rel-6_1_0`
branches to make the pre-commit more stable on the latter.

Descriptions of cherry-picked commits:

---

[SYCL][Graph][E2E] Disable all Graph E2E testing on Windows Battlemage
(#17348)

We currently only disable the RecordReplay variant of E2E testing on
battlemage, however we have many other tests and the likihood is that if
the RecordReplay tests are failing then other tests will start failing
too.

Disable all Graphs tests until Graph support on Windows battlemage can
be investigated more thoroughly.

See #17165

Patch-By: Ewan Crawford <[email protected]>

---

[CI] Add Windows BMG testing in precommit (#17105)

We got a Windows BMG machine, so add Windows BMG testing.

There are two categories of failures here: consistent failures/timeouts
and really slow tests causing CI to take 30min extra.

I disabled both of these and made two GH issues:
[one](#17165),
[two](#17255).

Patch-by: Sarnie, Nick <[email protected]>

---
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants