Skip to content

[SYCL][NATIVECPU] faster enqueues and async ops #19537

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

Draft
wants to merge 50 commits into
base: sycl
Choose a base branch
from

Conversation

uwedolinsky
Copy link
Contributor

Aims to improve kernel enqueues to:

  1. make the enqueuing faster by reducing work of the main thread and doing more work in the launched threads, including waiting for dependent events
  2. launch less threads per enqueue (max Maxthreads and potentially one for peeling)
  3. do peeling by the launched thread (instead of the main thread)

The state struct is now constructed by the threads instead of being copied which also reduces the capturing overhead in the lambda (also removing #ifdef NATIVECPU_USE_OCK)
Most other operations including memory copies are now asynchronous except enqueueBufferMap

… into seperate function to be able to remove mutable
@uwedolinsky uwedolinsky requested a review from a team as a code owner July 21, 2025 18:31
@uwedolinsky uwedolinsky marked this pull request as draft July 21, 2025 18:33
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