(prg:UOp, bufs:list[Buffer])
| 21 | AMX = "AMX" in DEV.arch |
| 22 | |
| 23 | def run_program(prg:UOp, bufs:list[Buffer]): |
| 24 | buf_uops = [UOp.new_buffer(b.device, b.size, b.dtype) for b in bufs] |
| 25 | for u,b in zip(buf_uops, bufs): buffers[u] = b |
| 26 | run_linear(UOp(Ops.LINEAR, src=(prg.call(*buf_uops),))) |
| 27 | |
| 28 | def helper_tc_ensure_uops_and_opts_count(N: int, M:int, K:int, dtype_in:DType, dtype_out:DType, axis:int=0, tc_select:int=-1, tc_opt:int=0, |
| 29 | ensure_triggered:bool=True): |
no test coverage detected
searching dependent graphs…