The simplest case is when the indexing maps are DimIds in every component. This covers cwise ops.
Also:
- Expose populateConvertLinalgOnTensorsToBuffersPatterns in Transforms.h
- Expose emitLoopRanges in Transforms.h
Paths
| Differential D88781
[linalg] Add basic support for dynamic tensor results in TensorToBuffers.cpp. ClosedPublic Authored by pifon2a on Oct 3 2020, 4:03 AM.
Details Summary The simplest case is when the indexing maps are DimIds in every component. This covers cwise ops. Also:
Diff Detail
Event TimelineHerald added subscribers: limo1996, stephenneuendorffer. · View Herald TranscriptOct 3 2020, 4:03 AM Comment Actions Very cool, thanks @pifon2a ! This revision is now accepted and ready to land.Oct 7 2020, 1:36 AM This revision was landed with ongoing or failed builds.Oct 8 2020, 2:56 AM Closed by commit rGc1fd4305b685: [mlir] Add basic support for dynamic tensor results in TensorToBuffers.cpp. (authored by pifon2a). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 296898 mlir/include/mlir/Dialect/Linalg/Transforms/Transforms.h
mlir/lib/Dialect/Linalg/Transforms/Loops.cpp
mlir/lib/Dialect/Linalg/Transforms/TensorsToBuffers.cpp
mlir/test/Dialect/Linalg/tensors-to-buffers.mlir
|