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

Function before

testing/python/transform/test_tilelang_transform_let_inline.py:16–22  ·  view source on GitHub ↗
(A: T.Tensor((128, 128), T.float32), B: T.Tensor((128, 128), T.float32))

Source from the content-addressed store, hash-verified

14def test_let_binding():
15 @T.prim_func
16 def before(A: T.Tensor((128, 128), T.float32), B: T.Tensor((128, 128), T.float32)):
17 for i in range(128):
18 for j in range(128):
19 with T.sblock("compute"):
20 factor = T.float32(2.0)
21 value = A[i, j] * factor
22 B[i, j] = value
23
24 @T.prim_func
25 def expected(A: T.Tensor((128, 128), T.float32), B: T.Tensor((128, 128), T.float32)):

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…