Skip to content

[UR] Add conformance tests for graph capture error codes - #23710

Draft
KFilipek wants to merge 2 commits into
intel:syclfrom
KFilipek:agents/urt-1273-investigate-solution
Draft

KFilipek wants to merge 2 commits into
intel:syclfrom
KFilipek:agents/urt-1273-investigate-solution

Conversation

@KFilipek

@KFilipek KFilipek commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Document when the graph capture error codes are returned and add conformance tests for six of them: GRAPH_CAPTURE_UNSUPPORTED, GRAPH_CAPTURE_MERGE_ATTEMPT, GRAPH_INTERNAL_EVENT, COMMAND_LIST_NOT_CAPTURING, GRAPH_UNJOINED_FORKS and INVALID_GRAPH.

  • GRAPH_CAPTURE_INVALIDATED is not tested: no public L0 operation is documented to return it.
  • Tests are gated by L0 driver version and skipped on older drivers. GRAPH_INTERNAL_EVENT needs 1.17.40012, which is newer than the CI-pinned 26.35.
  • Only the in-order and out-of-order immediate queues are covered. Batched queues do not yet follow the documented contract.

Tested on BMG with L0 v2 (26.35: 132 pass; 26.31: 122 pass, rest skipped) and v1 (skipped).

Describe when the graph entry points, urQueueFinish and urEventWait
return the graph capture error codes. ur_api.h and the loader sources
are regenerated from the yml.
Test six of the graph error codes on in-order and out-of-order queues.
Tests that need a newer Level Zero driver are skipped on older ones.

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.

1 participant