Refused: inline asm cvt.rn.f16x2.e4m3x2 with 2 operands
- Area
- LLVM IR constructs
- Kind
- construct
- Level
- L0 (card written). Next: L1 needs a Lean model.
- Evidence present above the level
- None above the level.
- Reference
PTX ISA 9.5 #data-movement-and-conversion-instructions-cvt- Quote
Convert a value from one type to another.
- Lean declarations
- Not stated yet.
- Corpus files
tests/corpus/mgemm/g_matmul_split_k_reduce_r2_w16_b256_gs_False_623520a3.nvptx.lltests/corpus/mgemm/g_matmul_split_k_reduce_r2_w16_b256_gs_False_fee81d5b.nvptx.lltests/corpus/mgemm/g_matmul_split_k_reduce_r2_w16_b256_gs_True_2e0d4661.nvptx.lltests/corpus/mgemm/g_matmul_split_k_reduce_r2_w16_b256_gs_True_7946e0b2.nvptx.ll
4 kernel files (
.ll) in the corpus.- Tests
MojoProofTest.Corpus
- Upstream issue
- None filed.
- Depends on
- No other card.
Rule
The importer refuses a call of inline assembly whose template and constraints are not of a form it accepts (AsmCall.ofText? in Module.check), and the corpus check records the files it refuses in tests/corpus/REFUSALS.tsv with the reason unsupported inline asm "cvt.rn.f16x2.e4m3x2 $0, $1;", "=r,h". The quote is the first sentence of PTX ISA's section on cvt, the instruction the string holds.
Corpus
4 of the 116 corpus files use it (4 uses).
Out of scope
Everything: no Lean model exists, and the files that call it are not imported.
Open
A model of the instruction (an intrinsic family with a stated contract) before the importer can accept these files.