Skip to content

[SYCL] Fix build with XPTI disabled #18269

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

Merged
merged 2 commits into from
May 1, 2025
Merged

[SYCL] Fix build with XPTI disabled #18269

merged 2 commits into from
May 1, 2025

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Apr 30, 2025

There were two issues:

  1. Setting UR_ENABLE_TRACING on the command line didn't work because the SYCL code calling the FetchUR CMake files didn't use CACHE, also fixed two other vars with the same problem.
  2. XPTI SYCL tests were built even if XPTI wasn't built, causing a build failure.

Also add two errors so the problem isn't discovered in a build failure.

@sarnex sarnex changed the title [SYCL][UR] Fix build with XPTI disabled [SYCL] Fix build with XPTI disabled Apr 30, 2025
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 16:31 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 17:13 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 17:24 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 17:24 — with GitHub Actions Inactive
@sarnex sarnex marked this pull request as ready for review April 30, 2025 17:27
@sarnex sarnex requested review from a team as code owners April 30, 2025 17:27
@sarnex sarnex requested a review from maarquitos14 April 30, 2025 17:27
@sarnex
Copy link
Contributor Author

sarnex commented Apr 30, 2025

One sec gonna add something else

@sarnex sarnex marked this pull request as draft April 30, 2025 18:46
Signed-off-by: Sarnie, Nick <[email protected]>
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 21:24 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 30, 2025 21:46 — with GitHub Actions Inactive
@sarnex sarnex marked this pull request as ready for review April 30, 2025 22:00
@sarnex
Copy link
Contributor Author

sarnex commented Apr 30, 2025

@intel/unified-runtime-reviewers @intel/llvm-reviewers-runtime This is ready for review now, thanks!

@sarnex sarnex merged commit 93f1498 into intel:sycl May 1, 2025
46 of 47 checks passed
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.

3 participants