MLIR
20.0.0git
|
Control function to check if a slice needs to be fused or not, The control function receives 1) the slice along which fusion is to be done, 2) the producer value that is to be fused 3) a boolean value set to true
if the fusion is from a destination operand.
More...
#include "mlir/Dialect/SCF/Transforms/TileUsingInterface.h"
Public Attributes | |
bool | yieldProducerReplacement = false |
Set to true if the loop nest has to return a replacement value for the fused producer. More... | |
Control function to check if a slice needs to be fused or not, The control function receives 1) the slice along which fusion is to be done, 2) the producer value that is to be fused 3) a boolean value set to true
if the fusion is from a destination operand.
The control function returns an std::optiona<ControlFnResult>
. If the return value is std::nullopt
, that implies no fusion is to be performed along that slice.
Definition at line 174 of file TileUsingInterface.h.
bool mlir::scf::SCFTileAndFuseOptions::ControlFnResult::yieldProducerReplacement = false |
Set to true if the loop nest has to return a replacement value for the fused producer.
Definition at line 177 of file TileUsingInterface.h.