Skip to content

[SYCL] Fix calculation of unreleased events in a pool #4730

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

Merged
merged 1 commit into from
Oct 8, 2021

Conversation

againull
Copy link
Contributor

@againull againull commented Oct 8, 2021

Before the change number of unreleased events was set to the maximum at
event pool creation and then only decremented at the moment when event
from the pool is released. This is not correct for the case when pool
is not completely full.
Patch fixes calculation of unreleased events in a pool.

Signed-off-by: Artur Gainullin [email protected]

Before the change number of unreleased events was set to the maximum at
event pool creation and then only decremented at the moment when event
from the pool is released. This is not correct for the case when pool
is not completely full.
Patch fixes calculation of unreleased events in a pool.

Signed-off-by: Artur Gainullin <[email protected]>
@againull againull requested a review from bso-intel October 8, 2021 09:04
@againull
Copy link
Contributor Author

againull commented Oct 8, 2021

image_max_size.cpp fail is unrelated to the change. Fail happens on opencl backend which is not touched by this PR. Reported to the author of the test.

@rdeodhar
Copy link
Contributor

rdeodhar commented Oct 8, 2021

Looks good.

@againull againull merged commit 8c1dddd into intel:sycl Oct 8, 2021
@againull againull deleted the fix_unreleased_calc branch December 3, 2022 00:07
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.

2 participants