Test linalg tiling
test_linalg_tiling
TileLinalgGenericFromAttributePattern
Bases: RewritePattern
Rewrite supported linalg.generic ops annotated with test_tile_sizes into tiled form.
Source code in xdsl/transforms/test_linalg_tiling.py
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | |
match_and_rewrite(op: linalg.ops.GenericOp, rewriter: PatternRewriter) -> None
Source code in xdsl/transforms/test_linalg_tiling.py
22 23 24 25 26 27 28 29 30 31 32 33 | |
TestLinalgTilingPass
dataclass
Bases: ModulePass
Tile supported memref-based linalg.generic ops annotated with test_tile_sizes.
Source code in xdsl/transforms/test_linalg_tiling.py
36 37 38 39 40 41 42 43 44 45 46 47 48 | |
name = 'test-linalg-tiling'
class-attribute
instance-attribute
__init__() -> None
apply(ctx: Context, op: ModuleOp) -> None
Source code in xdsl/transforms/test_linalg_tiling.py
44 45 46 47 48 | |