Skip to content

Conversation

igchor
Copy link
Contributor

@igchor igchor commented Jul 7, 2025

This is needed so that we can enable V2 adapter by default on certain platforms: #19333

The reason is that we need to load both adapters (legacy and v2) to check the device version. However, loading v2 adapter causes L0 loader to emit logs for all API calls (if ZE_DEBUG=1 is set). Since the legacy adapter used different logic for printing API calls, this would result in printing the same logs twice. This patch fixes that.

@igchor igchor temporarily deployed to WindowsCILock July 9, 2025 20:36 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock July 9, 2025 21:02 — with GitHub Actions Inactive
@igchor igchor temporarily deployed to WindowsCILock July 9, 2025 21:02 — with GitHub Actions Inactive
To account for zeDriverGet calls done by the
legacy adapter in checkL0LoaderTeardown()
@igchor igchor marked this pull request as ready for review July 9, 2025 22:12
@igchor igchor requested review from a team as code owners July 9, 2025 22:12
@igchor igchor requested review from aelovikov-intel and reble July 9, 2025 22:12
@igchor
Copy link
Contributor Author

igchor commented Jul 10, 2025

@intel/sycl-graphs-reviewers could you please take a look? I had to include a fix for kernel leak in command_buffer implementation for v2

@igchor igchor merged commit 5f86594 into intel:sycl Jul 10, 2025
58 of 60 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.

4 participants