(M=16, N=16, dtype=T.float16)
| 7 | |
| 8 | |
| 9 | def debug_print_buffer(M=16, N=16, dtype=T.float16): |
| 10 | @T.prim_func |
| 11 | def program(Q: T.Tensor((M, N), dtype)): |
| 12 | with T.Kernel(4, 4, 2, threads=128 * 2) as (bx, by, bz): |
| 13 | shared_buf = T.alloc_shared([M, N], dtype) |
| 14 | T.print(shared_buf) |
| 15 | |
| 16 | jit_kernel = tilelang.compile(program) |
| 17 | profiler = jit_kernel.get_profiler() |
| 18 | profiler.run_once() |
| 19 | |
| 20 | |
| 21 | @pytest.mark.parametrize( |
no test coverage detected
searching dependent graphs…