Skip to content

[SYCL] Reusable events extension implementation#22399

Open
slawekptak wants to merge 44 commits into
intel:syclfrom
slawekptak:ext_reusable_events_impl
Open

[SYCL] Reusable events extension implementation#22399
slawekptak wants to merge 44 commits into
intel:syclfrom
slawekptak:ext_reusable_events_impl

Conversation

@slawekptak

@slawekptak slawekptak commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

The implementation of the sycl_ext_oneapi_reusable_events extension.

Assisted-By: Claude

@slawekptak slawekptak requested a review from againull June 23, 2026 14:07
@slawekptak slawekptak requested review from a team as code owners July 10, 2026 08:14

@YuriPlyakhin YuriPlyakhin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

llvm/include/llvm/SYCLLowerIR/DeviceConfigFile.td LGTM

@againull againull left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please consider defining feature macro in feature_test.hpp.in.

@slawekptak

Copy link
Copy Markdown
Contributor Author

@mmichel11 @intel/sycl-graphs-reviewers @uditagarwal97 @intel/unified-runtime-reviewers-level-zero could you please review? Thank you!

the failure is not related to any changes in this PR.
A similar test was prepared, but without any use of reusable
events APIs, and was placed in the same file (the same UR mock
replaced callbacks) and it also failed.
The issue is most probably related to how the host task threads
work with UR mock functions.
The issue will be addressed in a separate PR and then the test
related to a host task will be added to reusable events unit tests.

@mmichel11 mmichel11 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Graph changes LGTM. Just a comment regarding support for this feature with SYCL graph native recording.

Comment thread sycl/source/reusable_events.cpp
Comment thread sycl/source/detail/event_impl.cpp Outdated
@againull againull requested a review from uditagarwal97 July 13, 2026 17:26

@nrspruit nrspruit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM for L0

Comment thread sycl/source/detail/queue_impl.cpp
Comment thread sycl/source/reusable_events.cpp Outdated
Comment thread sycl/test-e2e/Experimental/reusable_events/default_constructor.cpp Outdated

@uditagarwal97 uditagarwal97 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM overall

@againull

Copy link
Copy Markdown
Contributor

FAIL: SYCL :: Adapters/level_zero/device_scope_events.cpp
is unrelated and known: #21766

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.

8 participants