Skip to content

[SYCL][Graph][E2E] Add tests for new UR error codes - #22774

Open
mmichel11 wants to merge 1 commit into
intel:syclfrom
adamfidel:matt/native_recording_errc_tests
Open

mmichel11 wants to merge 1 commit into
intel:syclfrom
adamfidel:matt/native_recording_errc_tests

Conversation

@mmichel11

@mmichel11 mmichel11 commented Jul 27, 2026 •

Copy link
Copy Markdown
Contributor

Adds e2e tests assessing new error scenarios in the native graph backend. These cases were previously forbidden by native graphs but did not always return errors from L0.

@mmichel11
mmichel11 force-pushed the matt/native_recording_errc_tests branch from a334dac to a5fd762 Compare August 12, 2026 15:31
@mmichel11
mmichel11 force-pushed the matt/native_recording_errc_tests branch from a5fd762 to 200e647 Compare September 9, 2026 16:13
@mmichel11 mmichel11 changed the title [SYCL][Graph] Add tests for new UR error codes [SYCL][Graph] Add e2e tests for new UR error codes Sep 9, 2026
@mmichel11
mmichel11 requested a lite review from Copilot September 9, 2026 16:30

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 new external-event test has a broken lit directive and a queue::single_task call that does not match any available overload, which will prevent the tests from being gated/compiled correctly.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Adds new SYCL Graph native-recording end-to-end negative tests to validate newly introduced UR/Level Zero error scenarios, and removes now-obsolete TODO commentary in existing “Inputs” exception tests.

Changes:

  • Add native-recording e2e tests for: unjoined forks at end_recording, illegal cross-graph merge attempts, and “external/internal event” boundary violations.
  • Remove outdated TODO comments in existing queue-wait and event-wait recording exception tests.
File summaries
File Description
sycl/test-e2e/Graph/RecordReplay/NativeRecording/exception_unjoined_fork.cpp New e2e test expecting errc::runtime when ending a recording with an unjoined fork.
sycl/test-e2e/Graph/RecordReplay/NativeRecording/exception_merge.cpp New e2e test expecting errc::runtime when a cross-graph dependency would merge recordings.
sycl/test-e2e/Graph/RecordReplay/NativeRecording/exception_external_event.cpp New e2e test covering “external event pulled into graph” and “internal event escaping graph” error paths.
sycl/test-e2e/Graph/Inputs/exception_recording_queue_wait.cpp Removes outdated TODO comment; behavior remains the same.
sycl/test-e2e/Graph/Inputs/exception_recording_event_wait.cpp Removes outdated TODO comment; behavior remains the same.
Review details
  • Files reviewed: 5/5 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread sycl/test-e2e/Graph/RecordReplay/NativeRecording/exception_external_event.cpp Outdated
@mmichel11
mmichel11 force-pushed the matt/native_recording_errc_tests branch from d310198 to 385c4c6 Compare October 5, 2026 19:08
@mmichel11 mmichel11 changed the title [SYCL][Graph] Add e2e tests for new UR error codes [SYCL][Graph][E2E] Add tests for new UR error codes Oct 5, 2026
@@ -0,0 +1,64 @@
// REQUIRES: level_zero_v2_adapter && arch-intel_gpu_bmg_g21
// REQUIRES: linux
// REQUIRES-INTEL-DRIVER: lin: 39428

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.

Will add these to my list for when we turn on Windows testing.

@mmichel11
mmichel11 marked this pull request as ready for review October 5, 2026 21:43
@mmichel11
mmichel11 requested a review from a team as a code owner October 5, 2026 21:43
@mmichel11
mmichel11 requested a review from adamfidel October 5, 2026 21:43

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