Skip to content
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

fix urEnqueueEventsWaitWithBarrier returning events on failures #2080

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

pbalcer
Copy link
Contributor

@pbalcer pbalcer commented Sep 11, 2024

SYCL RT may sometimes ignore errors and call release on returned handles from failing functions. This patch makes sure that the OutEvent remains unmodified when the urEnqueueEventsWaitWithBarrier function returns an error.

@pbalcer pbalcer requested a review from a team as a code owner September 11, 2024 11:29
@github-actions github-actions bot added the level-zero L0 adapter specific issues label Sep 11, 2024
SYCL RT may sometimes ignore errors and call release on returned
handles from failing functions. This patch makes sure that the
OutEvent remains unmodified when the urEnqueueEventsWaitWithBarrier
function returns an error.
Copy link
Contributor

@nrspruit nrspruit left a comment

Choose a reason for hiding this comment

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

LGTM

@pbalcer pbalcer merged commit 904fa18 into oneapi-src:main Sep 12, 2024
58 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
level-zero L0 adapter specific issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants