Skip to content

[SYCL][Graph][E2E] Test IPC memory with SYCL graph - #23703

Draft
mmichel11 wants to merge 1 commit into
intel:syclfrom
adamfidel:agent/native-recording-ipc-tests
Draft

mmichel11 wants to merge 1 commit into
intel:syclfrom
adamfidel:agent/native-recording-ipc-tests

Conversation

@mmichel11

Copy link
Copy Markdown
Contributor

Tests IPC memory compatibility with SYCL graph native recording and command buffer backends. For native recording, a Level Zero interoperability test is added to match customer use cases.

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.

🟡 Changes recommended

The missing Level Zero guard can cause CUDA IPC tests to exit before exercising IPC when Yama is unavailable or prctl is blocked, despite CUDA not needing this permission.

1 open issue
What changed in this PR

Adds end-to-end coverage for IPC-shared USM device memory in SYCL graphs, including command-buffer execution, native recording, and direct Level Zero interoperability.

Changes:

  • Adds a shared producer/consumer test that records and replays graphs against IPC memory.
  • Adds three test wrappers covering SYCL IPC and Level Zero IPC paths.
  • Documents graph compatibility and lifetime requirements for imported IPC pointers.
File Description
sycl/​test-e2e/​Graph/​RecordReplay/​NativeRecording/​ze_ipc_memory.cpp Enables native-recording tests using Level Zero IPC APIs.
sycl/​test-e2e/​Graph/​RecordReplay/​NativeRecording/​ipc_memory.cpp Enables native-recording tests using SYCL IPC APIs.
sycl/​test-e2e/​Graph/​RecordReplay/​ipc_memory.cpp Enables command-buffer tests using SYCL IPC APIs.
sycl/​test-e2e/​Graph/​Inputs/​ipc_memory.cpp Implements shared cross-process graph tests and result validation.
sycl/​doc/​extensions/​experimental/​sycl_ext_oneapi_graph.asciidoc Documents IPC pointer support and execution-time lifetime requirements.

Review effort: Balanced

@mmichel11
mmichel11 force-pushed the agent/native-recording-ipc-tests branch from 7fededb to 0cc9339 Compare November 3, 2026 17:18

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