Repository navigation
[BugFix] Only record validated TMA descriptor names - #3484
Conversation
Signed-off-by: Xucheng Zhou <[email protected]>
|
👋 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! 🚀 |
|
Caution Review failedThe pull request is closed. No actionable comments were generated in the recent review. ℹ️ Recent review info
Walkthrough
Merge Risk:
|
Signed-off-by: Xucheng Zhou <[email protected]>
Signed-off-by: Xucheng Zhou <[email protected]>
|
Fixed the Ruff 0.16.10 formatting failure in |
|
Could a maintainer check the self-hosted NVIDIA CI queue? #3484 is waiting on the CUDA-auto test job, #3477 on the CuTeDSL examples job (its ordinary CUDA test passed), and #3384 on the CUDA-auto test job plus one workflow approval. The completed checks are green. Keeping the runner/approval follow-up in one place rather than posting on all three PRs. |
LeiWang1999
left a comment
There was a problem hiding this comment.
Recording the requested test-file removal; the descriptor-name mapping fix is retained.
maybe_desc_nameupdatesdesc_name_mapbefore checking the neighboringCUtensorMapdeclaration. A normal pointer parameter whose name starts with another buffer's descriptor name therefore leaves a false mapping behind.For example, TMA lowering with input
Aand ordinary outputA_descproduces:The extra
A_desc_1mapping has no corresponding descriptor variable, so wrapper construction raisesHandle name A_desc_1 not found in desc_name_var_map.Record the mapping only after confirming the descriptor type. Remove
testing/python/jit/test_tilelang_jit_adapter_wrapper.pyas requested during review.Validation:
git diff --checkandbash format.sh --files tilelang/jit/adapter/utils.pypassed.No local GPU kernel execution or fresh full native rebuild was performed.
Summary
maybe_desc_nameso it records a descriptor-name mapping only after confirming a neighboring declaration is aCUtensorMap. This prevents mappings for non-descriptor parameters.Validation
git diff --checkpassed. Ruff was not run. No GPU kernel execution or fresh native rebuild was performed.