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][Graph][L0] Enable Copy engine support with in-order command lists #16830

Merged
merged 12 commits into from
Mar 3, 2025

Conversation

konradkusiak97
Copy link
Contributor

@konradkusiak97 konradkusiak97 commented Jan 29, 2025

Currently, copy engine is only available to use for certain commands in the out-of-order command-buffer path. This PR adds required synchronization between the 2 command lists, when both are in-order. Hence, it enables using the copy engine with in-order path.

For the immediateAppend path, this only works for now if the environment variable UR_L0_USE_DRIVER_COUNTER_BASED_EVENTS=0 is set.

@konradkusiak97 konradkusiak97 requested review from a team as code owners January 29, 2025 14:21
@reble reble changed the title [SYCL][Graphs] Enable Copy engine support with in-order command lists [SYCL][Graph] Enable Copy engine support with in-order command lists Jan 29, 2025
@konradkusiak97 konradkusiak97 force-pushed the URaddInOrderCopyEngineSupport branch from 6f361e3 to b8606ee Compare February 24, 2025 22:59
@konradkusiak97 konradkusiak97 force-pushed the URaddInOrderCopyEngineSupport branch from b8606ee to 8af054f Compare February 25, 2025 12:12
@konradkusiak97 konradkusiak97 changed the title [SYCL][Graph] Enable Copy engine support with in-order command lists [SYCL][Graph][L0] Enable Copy engine support with in-order command lists Feb 25, 2025
Copy link
Contributor

@nrspruit nrspruit left a comment

Choose a reason for hiding this comment

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

LGTM

@konradkusiak97
Copy link
Contributor Author

CUDA failure is unrelated. This is ready to go, @intel/llvm-gatekeepers, could you merge this please?

@againull
Copy link
Contributor

againull commented Mar 3, 2025


Failed Tests (1):
SYCL :: HostInteropTask/interop-task-cuda-buffer-migrate.cpp

Known issue: #17026

@againull againull merged commit e09cee2 into intel:sycl Mar 3, 2025
29 of 30 checks passed
sommerlukas pushed a commit that referenced this pull request Mar 11, 2025
Following #16830, this PR adds an
additional e2e graph test to invoke copy engine on L0 devices and test
its behaviour.
adamfidel pushed a commit to reble/llvm that referenced this pull request Mar 11, 2025
…l#17324)

Following intel#16830, this PR adds an
additional e2e graph test to invoke copy engine on L0 devices and test
its behaviour.
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.

5 participants