[Carver] Remove unreachable tensor-core shared-scope branches - #3358
dajiaohuang wants to merge 1 commit into
Conversation
|
👋 Hi! Thank you for contributing to the TileLang project. Please remember to run We appreciate you taking this step! Our team will review your contribution, and we look forward to your awesome work! 🚀 |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: tile-ai/tilelang/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 7 remain after this review. 📝 WalkthroughWalkthroughThe tensor-core policy now assigns ChangesTensor-core policy
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~5 minutes Change: Refactor Suggested reviewers: Merge Risk: ⚪ Minimal · up to This cleanup removes redundant assignments in the tensor-core policy and is not expected to change generated configurations. No merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Summary
TensorCorePolicy._assign_block_size assigns shared.dyn unconditionally after the float32 and shared-memory-capacity branches. Those earlier assignments are therefore unreachable as effective settings. Remove the redundant branches and keep one explicit assignment; generated configuration remains unchanged.
Related issue: #3164.
Validation
Summary
shared.dyninTensorCorePolicy._assign_block_size.Validation
The author reports passing Ruff lint and format checks, Python syntax compilation, and
git diff --check. These results were not independently verified.