MCPcopy Create free account
hub / github.com/tile-ai/tilelang / assert_matmul_codegen

Function assert_matmul_codegen

testing/python/cpu/test_tilelang_cpu_gemm.py:48–56  ·  view source on GitHub ↗
(M=1024, N=1024, K=1024, block_M=128, block_N=128, block_K=32)

Source from the content-addressed store, hash-verified

46
47
48def assert_matmul_codegen(M=1024, N=1024, K=1024, block_M=128, block_N=128, block_K=32):
49 func = matmul(M, N, K, block_M, block_N, block_K)
50
51 with tvm.target.Target("c"):
52 artifact = tilelang.lower(func)
53
54 code = artifact.kernel_source
55
56 assert code is not None, "Code generation failed"
57
58
59def test_matmul_codegen():

Callers 1

test_matmul_codegenFunction · 0.85

Calls 2

matmulFunction · 0.70
lowerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…