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

Function simple

testing/python/cache/test_tilelang_kernel_cache.py:281–283  ·  view source on GitHub ↗
(A: T.Tensor((128,), T.float32), B: T.Tensor((128,), T.float32))

Source from the content-addressed store, hash-verified

279
280 @T.prim_func
281 def simple(A: T.Tensor((128,), T.float32), B: T.Tensor((128,), T.float32)):
282 with T.Kernel(128, threads=128) as i:
283 B[i] = A[i] * 2.0
284
285 kernel_func = simple.with_attr("global_symbol", f"simple_{backend}_{unique_id}")
286

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…