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

Function sample_kernel

testing/python/transform/test_nullable_buffer_params.py:84–88  ·  view source on GitHub ↗
(x: T.Tensor[(m,), T.int32])

Source from the content-addressed store, hash-verified

82
83 @T.prim_func
84 def sample_kernel(x: T.Tensor[(m,), T.int32]):
85 with T.Kernel(1, threads=1):
86 tx = T.get_thread_binding()
87 if tx == 0:
88 T.print(m)
89
90 return sample_kernel
91

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…