()
| 514 | |
| 515 | @tilelang.jit |
| 516 | def float_init_readback(): |
| 517 | @T.prim_func |
| 518 | def kernel(out: T.Tensor((1,), T.float32)) -> None: |
| 519 | with T.Kernel(1, threads=32) as _: |
| 520 | v = T.alloc_var(T.float32, init=3.14) |
| 521 | if T.get_thread_binding() == 0: |
| 522 | out[0] = v |
| 523 | |
| 524 | return kernel |
| 525 | |
| 526 | out = torch.zeros(1, dtype=torch.float32, device="cuda") |
| 527 | float_init_readback()(out) |
no outgoing calls
no test coverage detected
searching dependent graphs…