Skip to content

[SYCL] Use per-kernel mutex for interop kernel enqueue #8165

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
Feb 2, 2023

Conversation

sergey-semenov
Copy link
Contributor

Switch from using a single mutex to one per kernel when enqueueing interoperability kernels. Compared to the original solution (#8111), this allows to enqueue different interop SYCL kernels in parallel, but leaves out an edge case where two SYCL kernels were created with the same native handle.

Switch from using a single mutex to one per kernel when enqueueing
interoperability kernels. Compared to the original solution (intel#8111),
this allows to enqueue different interop SYCL kernels in parallel, but
leaves out an edge case where two SYCL kernels were created with the
same native handle.
@sergey-semenov sergey-semenov requested a review from a team as a code owner January 31, 2023 16:52
@sergey-semenov sergey-semenov temporarily deployed to aws January 31, 2023 18:36 — with GitHub Actions Inactive
@sergey-semenov sergey-semenov temporarily deployed to aws January 31, 2023 20:03 — with GitHub Actions Inactive
@sergey-semenov
Copy link
Contributor Author

@KseniyaTikhomirova @intel/llvm-reviewers-runtime gentle ping

Copy link
Contributor

@KseniyaTikhomirova KseniyaTikhomirova left a comment

Choose a reason for hiding this comment

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

LGTM

@sergey-semenov sergey-semenov merged commit 744bd72 into intel:sycl Feb 2, 2023
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