-
Notifications
You must be signed in to change notification settings - Fork 769
[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
base: sycl
Are you sure you want to change the base?
Conversation
e13f37b
to
80da905
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.
Just a typo, otherwise LGTM.
80da905
to
07ceecf
Compare
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) { |
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.
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?
This reapplies some of the changes from #17536 (without changes to leak_checker which broke internal testing).
This fixes: #18463