Skip to content

Conversation

AlexeySachkov
Copy link
Contributor

@AlexeySachkov AlexeySachkov commented Sep 30, 2025

This is a joint cherry-pick of #18325 and #19827


[UR][L0] Event pool cache leak fix (#18325)

addresses event pool leak when SYCL_PI_LEVEL_ZERO_DISABLE_EVENTS_CACHING
is set to 1


[UR][L0] Event cleanup in urEnqueueKernelLaunch (#19827)

When using internal events we do not clean up after execution. In the
case of repeated call to urEnqueueKernelLaunch we eventually return
UR_RESULT_ERROR_OUT_OF_RESOURCES.

addresses event pool leak when SYCL_PI_LEVEL_ZERO_DISABLE_EVENTS_CACHING
is set to 1

---------

Signed-off-by: Zhang, Winston <[email protected]>
When using internal events we do not clean up after execution. In the
case of repeated call to urEnqueueKernelLaunch we eventually return
UR_RESULT_ERROR_OUT_OF_RESOURCES.

---------

Signed-off-by: Zhang, Winston <[email protected]>
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