()
| 1228 | # fmt: off |
| 1229 | @T.prim_func |
| 1230 | def test_let_var(): |
| 1231 | T.device_entry() |
| 1232 | smem = T.alloc_shared([128], "float16") |
| 1233 | ptr: T.let[T.Var(name="ptr", dtype=PointerType(PrimType("uint64")))] = T.reinterpret( |
| 1234 | "handle", smem.access_ptr("rw") |
| 1235 | ) |
| 1236 | T.evaluate(ptr) |
| 1237 | # fmt: on |
| 1238 | code = test_let_var.script() |
| 1239 | assert from_source(code).script() == code |
| 1240 |
nothing calls this directly
no test coverage detected
searching dependent graphs…