Update: select A5 cluster ownership from trusted topology - #2183
Update: select A5 cluster ownership from trusted topology#2183yanghaoran29 wants to merge 1 commit into
Conversation
|
Important Review skippedAuto incremental reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (14)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe change adds topology-aware scheduler cluster assignment. Validated topology selects contiguous ownership. Other topology states retain round-robin ownership. Runtime state, scheduler paths, diagnostics, tests, and hardware documentation now support both modes. ChangesScheduler cluster assignment
Estimated code review effort: 3 (Moderate) | ~25 minutes Merge Risk: ⚪ Minimal · up to A5 scheduler ownership now uses balanced contiguous cluster ranges only for validated topology and preserves round-robin ownership for invalid or incomplete topology. The current change is ready to merge. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 35.56% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 45 functions across 13 files. (1 skipped: 1 unsupported.) 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. I twitch my nose at clusters bright Comment |
8de8fed to
9c16fc0
Compare
Use balanced contiguous cluster ranges when CPU_TOPO or a verified JSON fallback exactly matches OCCUPY. Preserve round-robin ownership for incomplete or unmatched topology, carry the internal mode through both A5 runtimes, and keep the shared host-build-graph type visible to all platform builds.
9c16fc0 to
ade4b4f
Compare
Summary
Testing
test_a5_aicpu_topology_fallbackclang-format --dry-run --Werrorandgit diff --check