Tiling
Tiling action for MLIR loop transformations.
This module implements the tiling transformation action, which applies loop tiling to operations with configurable tile sizes.
Tiling(parameters, state=None, /, *, process_params=True, **extras)
Bases: Action
Class representing Tiling action
Source code in mlir_rl_artifact/actions/tiling.py
__get_tiles_count(ub)
staticmethod
Get the number of tiling candidates for a given loop upper bound.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
ub
|
int
|
The loop upper bound. |
required |
Returns:
| Type | Description |
|---|---|
int
|
The number of candidates. |