Skip to content

[SYCL] Retain event in old OpenCL interop constructor #6214

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

Conversation

steffenlarsen
Copy link
Contributor

#6180 moved the retain logic for events to the make_event interop API. However, this means that the old OpenCL interop constructor for event does not retain the native event. These changes add the retain logic directly to the old OpenCL interop constructor for OpenCL.

intel#6180 moved the retain logic for
events to the make_event interop API. However, this means that the old
OpenCL interop constructor for event does not retain the native event.
These changes add the retain logic directly to the old OpenCL interop
constructor for OpenCL.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>
@steffenlarsen steffenlarsen requested a review from a team as a code owner May 30, 2022 12:23
@steffenlarsen
Copy link
Contributor Author

Failure in reduction_usm in the test-suite in 6655029187. This test has been seen to fail sporadically in other cases, so I will rerun the tests and report the issue if tests pass.

Copy link
Contributor

@aelovikov-intel aelovikov-intel left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this!

@steffenlarsen steffenlarsen merged commit f119000 into intel:sycl May 31, 2022
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