The layout tensor-core tests
the layout tensor-core tests, mma_layout_tc, matmul_naive and c_fragment_kernel (TorchLean.Tensor.matmul)
- Area
- Kernels
- Kind
- kernel
- Level
- L0 (card written). Next: L1 needs a recorded GPU run (a conformance test, not a proof).
- Evidence present above the level
- None above the level.
- Reference
modular/modular@bbc13a71:max/kernels/test/gpu/layout/test_layout_mma.mojo:28- Quote
def mma_layout_tc[
- Lean declarations
TorchLean.Tensor.matmul
- Corpus files
13 kernel files (
.ll) in the corpus.- Tests
MojoProofTest.Corpus
- Upstream issue
- None filed.
- Depends on
- gpu-model/mma, gpu-model/launch
The rule. mma_layout_tc multiplies tiles with the tensor cores' mma, matmul_naive
is its one-thread-per-cell reference, and c_fragment_kernel writes an accumulator fragment.
What is in the code. 13 corpus files: 5 mma_layout_tc, 5 matmul_naive, 3
c_fragment_kernel. They import (MojoProofTest.Corpus runs every corpus row). The evaluator has
no grid semantics for mma yet.
Open. Every level above L0.