(shape, dtype, swizzle_mode="auto")
| 1422 | |
| 1423 | def test_pool_allocator_alloc_mma(): |
| 1424 | def alloc_layout(shape, dtype, swizzle_mode="auto"): |
| 1425 | with IRBuilder(): |
| 1426 | with Tx_builder.prim_func(): |
| 1427 | pool = T.SMEMPool(Var("smem_ptr", PointerType(PrimType("uint8")))) |
| 1428 | buf = pool.alloc_mma(shape, dtype, swizzle_mode=swizzle_mode) |
| 1429 | return buf.layout |
| 1430 | |
| 1431 | cases = [ |
| 1432 | ("uint8", (3, 64, 256)), |
no test coverage detected
searching dependent graphs…