Detect tcgen05 load/store API by signature - #119
Merged
Conversation
Signed-off-by: shuyan.ycf <shuyan.ycf@antgroup.com>
Signed-off-by: shuyan.ycf <shuyan.ycf@antgroup.com>
icavan
marked this pull request as ready for review
August 5, 2026 09:58
This was referenced Aug 5, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tcgen05_ldandtcgen05_stfunction signaturesnumargument independently for load and store, and select the supported store value keyword (rorval)_no_cpguard to the publicuse_intracard_cp=FalsecontrolMotivation
The low-level generated NVVM binding changed between CuTeDSL 4.5.2 and 4.5.3:
numwas removed and the store value keyword changed fromrtoval. A package-version comparison is brittle because this is an internal API and distributions may backport or ship the binding change independently. Inspecting the callable interface directly makes the compatibility decision match the API that is actually installed.The intracard CP tests also retained two calls to the private
_no_cpkeyword after production dispatch was migrated to the sharedCPModeinterface. Usinguse_intracard_cp=Falserestores the intended serial baseline and fallback behavior without reintroducing a second, conflicting dispatch control.Validation
Validated on an SM100 GPU in isolated environments:
ld_has_num=True, st_has_num=True, st_value_keyword="r"ld_has_num=False, st_has_num=False, st_value_keyword="val"tests/test_cutedsl_compat.py: 4 passedtests/test_ptx_umma_ws.py::test_ws_ss_tf32: passed on both 4.5.2 and 4.5.3pre-commit run --all-files: passedgit diff --check: passedRelated to #118.