Skip to content

[SYCL] Reusable events extension implementation#22399

Merged
againull merged 44 commits into
intel:syclfrom
slawekptak:ext_reusable_events_impl
Jul 14, 2026
Merged

[SYCL] Reusable events extension implementation#22399
againull merged 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

@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

@slawekptak

Copy link
Copy Markdown
Contributor Author

@intel/llvm-gatekeepers please consider merging

@slawekptak

Copy link
Copy Markdown
Contributor Author

@againull thanks for helping to address the review comments!

@againull
againull merged commit 53ad655 into intel:sycl Jul 14, 2026
35 of 37 checks passed
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