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

Function kernel

testing/python/language/test_tilelang_language_sync_threads.py:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15def test_sync_threads_with_variable_barrier_id():
16 @T.prim_func
17 def kernel():
18 with T.Kernel(1, threads=256) as (bx,):
19 barrier_id = T.int32(1)
20 T.sync_threads(barrier_id)
21 T.sync_threads(barrier_id, 128)
22
23 kernel = _compile_cuda(kernel)
24 src = kernel.get_kernel_source()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…