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

Function ref_program

testing/python/jit/test_tilelang_jit_nvrtc.py:145–150  ·  view source on GitHub ↗
(A, B)

Source from the content-addressed store, hash-verified

143 B = B.T
144
145 def ref_program(A, B):
146 import torch
147
148 C = torch.matmul(A.to(torch.float), B.to(torch.float))
149 C = C.to(out_dtype)
150 return C
151
152 ref_C = ref_program(A, B)
153 C = matmul_kernel(A, B)

Callers 2

run_gemm_jit_kernelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…