diff options
| author | Christopher Bate <cbate@nvidia.com> | 2022-07-21 09:26:46 -0600 |
|---|---|---|
| committer | Christopher Bate <cbate@nvidia.com> | 2022-07-21 10:32:01 -0600 |
| commit | 297ba167ded073a47dd9ea7e408aa95acdfcedf1 (patch) | |
| tree | 9de4da963d098b2ced7988d3d3a4c80285903483 /llvm/tools/llvm-cov/CodeCoverage.cpp | |
| parent | 9e16fb72dd7456502eecdc60b2b8b2ebec362c18 (diff) | |
| download | llvm-297ba167ded073a47dd9ea7e408aa95acdfcedf1.zip llvm-297ba167ded073a47dd9ea7e408aa95acdfcedf1.tar.gz llvm-297ba167ded073a47dd9ea7e408aa95acdfcedf1.tar.bz2 | |
[mlir][linalg] Add tile_size option to `structured.tile_to_foreach_thread_op`
This change modifies `structured.tile_to_foreach_thread_op` so that
it accepts either `tile_sizes` or `num_threads` parameters. If
`tile_sizes` are specified, then the number of threads required is
derived the tile sizes rather than the other way around. In both cases,
more aggressive folding of loop parameters is enabled during the
transformation, allowing for the potential elimination of `affine.min`
and `affine.max` operations in the static shape case when calculating
the final adjusted tile size.
Differential Revision: https://reviews.llvm.org/D130139
Diffstat (limited to 'llvm/tools/llvm-cov/CodeCoverage.cpp')
0 files changed, 0 insertions, 0 deletions
