You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Purpose
This PR adds a config switch `enable_event_sync` to control whether dump
tasks wait on a prerequisite compute event.
## Modifications
Add `enable_event_sync`plumbing in `ucm_connector.py`.
Pass event handle to `dump_data` only when sync is enabled; otherwise
pass 0.
Add `CopyStream::WaitEvent(void* event)` to apply wait on all internal
copy streams.
Update `DumpQueue` to issue prerequisite wait once via `CopyStream`,
ensuring all streams are covered.
Make `Trans::Stream::WaitEvent` pure virtual and implement it in
SimuStream (no-op).
## Test
<img width="1309" height="759" alt="image"
src="https://github.com/user-attachments/assets/f9fd0590-154f-4399-b64a-3592fde511df"
/>
<img width="1345" height="825" alt="image"
src="https://github.com/user-attachments/assets/ae79846a-05e5-4c85-9d63-776027ebca61"
/>
<img width="933" height="356" alt="image"
src="https://github.com/user-attachments/assets/65f356b6-367e-4454-81e7-3f2386a46c6c"
/>
0 commit comments