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

[SYCL] reset enqueue status so that buffer can be used after failure is addressed #17871

Open
wants to merge 2 commits into
base: sycl
Choose a base branch
from

Conversation

cperkinsintel
Copy link
Contributor

CMPLRLLVM-65738 - If we run out of memory, an exception is thrown and can be caught by the user application. They can address this in several ways: free memory, .wait() on outstanding operations, etc. But despite addressing the problem, SYCL has a bug wherein the buffer is not usable. This is because the EnqueueStatus isn't reset, the Command/Requirement cannot be re-enqueued.
The fix here is straightforward. We also improve the FailedDependency unit test.

…e-enqueued. But many errors/exceptions are addressable and operations should be able to resume after. The fix here is straightforward. We also improve the FailedDependency unit test.
@cperkinsintel cperkinsintel marked this pull request as ready for review April 7, 2025 20:46
@cperkinsintel cperkinsintel requested a review from a team as a code owner April 7, 2025 20:46
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.

1 participant