Skip to content
This repository was archived by the owner on Mar 2, 2026. It is now read-only.

Add non immediate flag to cb event provider for graph compatibility#393

Merged
reble merged 1 commit intopablo/graph-native-recording-prototype-v2from
matt/native_recording_fix
Jan 10, 2026
Merged

Add non immediate flag to cb event provider for graph compatibility#393
reble merged 1 commit intopablo/graph-native-recording-prototype-v2from
matt/native_recording_fix

Conversation

@mmichel11
Copy link
Copy Markdown
Collaborator

@mmichel11 mmichel11 commented Jan 9, 2026

Looking at level-zero tests, counter based events with graphs always set ZEX_COUNTER_BASED_EVENT_FLAG_NON_IMMEDIATE even though we record over an immediate command list. This seems to be a requirement to use counter based events with graphs. Adding this fixes my reproducers and enable_native_recording.cpp in this branch.

This flag is compatible with ZEX_COUNTER_BASED_EVENT_FLAG_IMMEDIATE, so we may want to directly upstream this change once checking it has no downsides.

There is also a ZEX_COUNTER_BASED_EVENT_FLAG_EXTERNAL flag that may also be needed for external synchronization.

@mmichel11 mmichel11 requested a review from reble January 9, 2026 00:18
@reble reble merged commit 606b864 into pablo/graph-native-recording-prototype-v2 Jan 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants