llvm-project/mlir/tools/mlir-opt
MaheshRavishankar 944a2fe763 [mlir][Linalg] Add callbacks to fusion of elementwise operations to control fusion.
Right now Elementwise operations fusion in Linalg fuses everything it
can. This can run up against resource limits of the target hardware
without some checks. This patch adds a callback function that clients
can use to implement a cost function. When two elementwise operations
are deemed structurally fusable, the callback can be used to control
if the fusion applies.

Differential Revision: https://reviews.llvm.org/D99820
2021-04-05 16:08:47 -07:00
..
CMakeLists.txt [mlir] Add initial support for an alias analysis framework in MLIR 2021-02-09 14:21:27 -08:00
mlir-opt.cpp [mlir][Linalg] Add callbacks to fusion of elementwise operations to control fusion. 2021-04-05 16:08:47 -07:00