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

Function func1

testing/python/cache/test_tilelang_kernel_cache.py:227–230  ·  view source on GitHub ↗
(A: T.Tensor((M, N), T.float32), B: T.Tensor((M, N), T.float32))

Source from the content-addressed store, hash-verified

225 # Kernel 1: A + 1.0
226 @T.prim_func
227 def func1(A: T.Tensor((M, N), T.float32), B: T.Tensor((M, N), T.float32)):
228 with T.Kernel(M, threads=128) as bx:
229 for i in T.serial(N):
230 B[bx, i] = A[bx, i] + 1.0
231
232 unique_id_1 = uuid.uuid4().hex[:8]
233 kernel_func1 = func1.with_attr("global_symbol", f"func1_{backend}_{unique_id_1}")

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…