Repository navigation
Conversation
The basic_leak_checker validation layer tracked zeEventCreate and the deprecated zexCounterBasedEventCreate2 extension for event create/destroy leak detection, but not the core zeEventCounterBasedCreate API added in spec v1.15. Applications migrating from the deprecated extension to the core API saw false-positive LEAK reports because zeEventDestroy calls were counted while the corresponding create calls were not. Add zeEventCounterBasedCreate to the tracked create/destroy set and implement its Epilogue hook to count successful calls. Fixes: oneapi-src#512 Fixes: LZL-2723 Signed-off-by: Lukasz Dorau <[email protected]>
|
The scorecard CI job failed because of "Error: Docker pull failed with exit code 1". |
|
@Jemale Could you restart the scorecard CI job ? https://github.com/oneapi-src/level-zero/actions/runs/34830573084/job/103932683337?pr=513 |
|
I restarted it and it failed again, @rwmcguir it looks like there's an issue with the scorecard job. Can we merge without it until it is fixed? |
rwmcguir
left a comment
There was a problem hiding this comment.
I've confirmed these are hand written files, i.e. not part of the auto-gen so change looks good.
|
As for the Scorecard it is not critical to our code, uncertain why it's failing but this is not due to code quality. |
|
@rwmcguir Please include it in the next public release |
v1.34.0 adds tracking of zeEventCounterBasedCreate in basic_leak_checker (oneapi-src/level-zero#513), which is required for the counter-based-event leak-check E2E tests to pass once the L0 v2 adapter switches to calling the core zeEventCounterBasedCreate API (see PR intel#23154) instead of the deprecated zexCounterBasedEventCreate2 extension. Without this bump, the leak checker undercounts counter-based event creations and reports a false negative-leak mismatch. Bumps both the CI-installed loader package version (devops/dependencies.json) and the FetchContent-built loader used when SYCL_UR_FORCE_FETCH_LEVEL_ZERO is set (unified-runtime/cmake/FetchLevelZero.cmake), along with the matching pkg-config minimum version for the preinstalled-loader detection path.
v1.34.0 adds tracking of zeEventCounterBasedCreate in basic_leak_checker (oneapi-src/level-zero#513), which is required for the counter-based-event leak-check E2E tests to pass once the L0 v2 adapter switches to calling the core zeEventCounterBasedCreate API (see PR intel#23154) instead of the deprecated zexCounterBasedEventCreate2 extension. Without this bump, the leak checker undercounts counter-based event creations and reports a false negative-leak mismatch. Bumps both the CI-installed loader package version (devops/dependencies.json) and the FetchContent-built loader used when SYCL_UR_FORCE_FETCH_LEVEL_ZERO is set (unified-runtime/cmake/FetchLevelZero.cmake), along with the matching pkg-config minimum version for the preinstalled-loader detection path.
v1.34.0 adds tracking of zeEventCounterBasedCreate in basic_leak_checker (oneapi-src/level-zero#513), which is required for the counter-based-event leak-check E2E tests to pass once the L0 v2 adapter switches to calling the core zeEventCounterBasedCreate API (see PR intel#23154) instead of the deprecated zexCounterBasedEventCreate2 extension. Without this bump, the leak checker undercounts counter-based event creations and reports a false negative-leak mismatch. Bumps both the CI-installed loader package version (devops/dependencies.json) and the FetchContent-built loader used when SYCL_UR_FORCE_FETCH_LEVEL_ZERO is set (unified-runtime/cmake/FetchLevelZero.cmake), along with the matching pkg-config minimum version for the preinstalled-loader detection path.
The basic_leak_checker validation layer tracked zeEventCreate and the
deprecated zexCounterBasedEventCreate2 extension for event
create/destroy leak detection, but not the core zeEventCounterBasedCreate
API added in spec v1.15. Applications migrating from the deprecated
extension to the core API saw false-positive LEAK reports because
zeEventDestroy calls were counted while the corresponding create calls
were not.
Add zeEventCounterBasedCreate to the tracked create/destroy set and
implement its Epilogue hook to count successful calls.
Fixes: #512
Fixes: LZL-2723
Ref: intel/llvm#23154