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

Function program

testing/python/debug/test_tilelang_debug_print.py:11–14  ·  view source on GitHub ↗
(Q: T.Tensor((M, N), dtype))

Source from the content-addressed store, hash-verified

9def debug_print_buffer(M=16, N=16, dtype=T.float16):
10 @T.prim_func
11 def program(Q: T.Tensor((M, N), dtype)):
12 with T.Kernel(4, 4, 2, threads=128 * 2) as (bx, by, bz):
13 shared_buf = T.alloc_shared([M, N], dtype)
14 T.print(shared_buf)
15
16 jit_kernel = tilelang.compile(program)
17 profiler = jit_kernel.get_profiler()

Callers

nothing calls this directly

Calls 1

get_thread_bindingMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…