• Diego Caballero's avatar
    [MLIR] Enable affine loop tiling (#3397) · 14624c03
    Diego Caballero authored
    * [MLIR] Enable affine loop tiling
    
    This PR enables loop tiling optimization in affine dialect. It
    introduces the following flags for configuration.
      - affine-loop-tile: enables/disables the optimization. Disabled by
        default.
      - loop-tile-cache-level: provides the cache level to which apply loop
        tiling to. Cache level size is obtained from LLVM's TTI.
      - loop-tile-cache-size: provides a cache level size that overrides
        cache information from TTI.
    
    The current use of TTI is a bit hacky since we have to pass a fake
    LLVM's function to make it work. However, this should be enough to get
    some basic target information until we have a target model in MLIR or
    find a better approach.
    
    * Address feedback
    
    * Rename flags
    14624c03
Name
Last commit
Last update
.ci Loading commit data...
cmake Loading commit data...
contrib/docker Loading commit data...
doc Loading commit data...
licenses Loading commit data...
maint Loading commit data...
python Loading commit data...
src Loading commit data...
test Loading commit data...
.clang-format Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
ABOUT.md Loading commit data...
CMakeLists.txt Loading commit data...
CODEOWNERS Loading commit data...
CONTRIB.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
VERSION.in Loading commit data...
changes.md Loading commit data...
ecosystem-overview.md Loading commit data...