Skip to content

[SYCL][UR][L0 v2] Implement API logging using L0 loader #18475

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

Open
wants to merge 2 commits into
base: sycl
Choose a base branch
from

Conversation

igchor
Copy link
Member

@igchor igchor commented May 14, 2025

This reapplies some of the changes from #17536 (without changes to leak_checker which broke internal testing).

This fixes: #18463

@igchor igchor requested review from a team as code owners May 14, 2025 19:03
@igchor igchor requested a review from maarquitos14 May 14, 2025 19:03
@igchor igchor force-pushed the reapply_api_logging branch from e13f37b to 80da905 Compare May 14, 2025 19:05
@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 19:05 — with GitHub Actions Inactive
Copy link
Contributor

@maarquitos14 maarquitos14 left a comment

Choose a reason for hiding this comment

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

Just a typo, otherwise LGTM.

@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 19:32 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 19:32 — with GitHub Actions Inactive
@igchor igchor force-pushed the reapply_api_logging branch from 80da905 to 07ceecf Compare May 14, 2025 19:50
@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 19:50 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 20:17 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock May 14, 2025 20:17 — with GitHub Actions Inactive
igchor added 2 commits May 14, 2025 20:50
The adapter sets certain env variables during adapter init.
Preloding it will set those variables and result in
unexpected behavior for the legacy adater.
auto UREnv = std::getenv("UR_LOADER_USE_LEVEL_ZERO_V2");

try {
if (SyclEnv && std::stoi(SyclEnv) == 1) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Looking further into this, why are we using stoi here but atoi for UREnv? If there's no specific reason, can we use the same for both?

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.

Tests failing on Arc - interop-buffer-ownership.cpp, usm_device_read_only.cpp, buffer_create.cpp
2 participants