Test: cover overlapping group reservations - #1614
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
📝 WalkthroughWalkthroughAdded an end-to-end scene test for overlapping ChangesGroup reservation validation
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant SceneTest
participant Orchestration
participant AIVKernel
participant ReservationState
SceneTest->>Orchestration: submit group and worker operations
Orchestration->>AIVKernel: submit output and scalar arguments
AIVKernel->>ReservationState: publish and check shared state
AIVKernel-->>SceneTest: write operation ordering markers
Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
0606452 to
4f42df4
Compare
4f42df4 to
dee809f
Compare
Use a device-side handshake to hold the first group while a second group with overlapping targets queues. Verify an unrelated single can progress and a reserved single cannot overtake the blocked group. Keep the AICore compatibility attribute defined before intrinsic.h so the hardware compiler sees the kernel and PTO signal calls as device code.
Summary
NEXT_LEVELgroup reservationsScenario
The first group uses workers
{0,1}and leaves worker 1 waiting. A second group for{1,2}blocks at the group queue head. A worker-0 single releases the first group, while a worker-2 single checks a marker written by the second group.Review context
#1565 (comment)
Testing
a2a3sim, three devices: passeda5sim, three devices: passeddcmi module initialize failed (-8005))