Skip to content

[SYCL][Graph][Test] Test cooperative kernels under native recording - #23606

Open
mmichel11 wants to merge 1 commit into
intel:syclfrom
adamfidel:agent/cooperative-kernels
Open

mmichel11 wants to merge 1 commit into
intel:syclfrom
adamfidel:agent/cooperative-kernels

Conversation

@mmichel11

@mmichel11 mmichel11 commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Tests native graph capture of cooperative kernels through the following SYCL extensions:

  • sycl_ext_oneapi_root_group
  • sycl_ext_oneapi_forward_progress

@mmichel11
mmichel11 requested a lite review from Copilot October 23, 2026 13:55

Copilot AI 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.

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Copilot review overview

2 open issues
What changed in this PR

Adds a new SYCL E2E test to validate native graph capture/replay behavior for cooperative kernels using root-group synchronization and forward-progress guarantees on supported Intel GPUs.

Changes:

  • Introduces a native-recording graph test that replays a cooperative “rotate” kernel multiple times and validates results.
  • Covers two synchronization strategies: use_root_sync root-group barrier and a custom device-wide barrier using an atomic counter + concurrent forward progress.
File Description
sycl/​test-e2e/​Graph/​RecordReplay/​NativeRecording/​concurrent_root_group.cpp New E2E test exercising native graph recording/replay for cooperative kernels with root-group synchronization.

Review effort: Lite

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mmichel11
mmichel11 force-pushed the agent/cooperative-kernels branch from d63b5e3 to a3dcb48 Compare October 23, 2026 15:30
@@ -0,0 +1,138 @@
// REQUIRES: level_zero_v2_adapter && (arch-intel_gpu_bmg_g21 || arch-intel_gpu_bmg_g31 || arch-intel_gpu_cri)
// REQUIRES-INTEL-DRIVER: lin: 40105

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

There is a NEO bug that causes a feature not supported error return during graph instantiation with earlier versions.

@mmichel11
mmichel11 marked this pull request as ready for review October 23, 2026 15:31
@mmichel11
mmichel11 requested a review from a team as a code owner October 23, 2026 15:31
@mmichel11
mmichel11 requested a review from adamfidel October 23, 2026 15:31

This branch has not been deployed

No deployments
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