(global_tensor: T.Tensor[(length,), T.int32])
| 11 | |
| 12 | @T.prim_func |
| 13 | def sample_kernel(global_tensor: T.Tensor[(length,), T.int32]): # noqa: F821 |
| 14 | with T.Kernel(1, threads=32): |
| 15 | buffer_shared = T.alloc_shared((1024,), dtype=T.int32) |
| 16 | T.copy(global_tensor[0:length], buffer_shared) |
| 17 | |
| 18 | # Building the prim_func is sufficient to exercise the bug path; no need to JIT/execute. |
| 19 | _ = sample_kernel |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…