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

Function kernel

testing/python/components/test_cuda_restrict_codegen.py:20–22  ·  view source on GitHub ↗
(x: T.Tensor((N,), T.float32), y: T.Tensor((N,), T.float32))

Source from the content-addressed store, hash-verified

18
19 @T.prim_func
20 def kernel(x: T.Tensor((N,), T.float32), y: T.Tensor((N,), T.float32)):
21 with T.Kernel(N, threads=32) as pid:
22 y[pid] = x[pid] + 1.0
23
24 artifact = tilelang.lower(kernel, target="cuda")
25 sig = _get_sig_line(artifact.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…