This in preparation of decoupling BufferizableOpInterface, Comprehensive Bufferize and dialects.
The goal of this commit is to make getResultBuffer (and other bufferize functions) independent of LinalgOps.
Depends On D112902
Paths
| Differential D112907
[mlir][linalg][bufferize] Add MemCpyFn to AllocationCallbacks struct ClosedPublic Authored by springerm on Nov 1 2021, 12:50 AM.
Details Summary This in preparation of decoupling BufferizableOpInterface, Comprehensive Bufferize and dialects. The goal of this commit is to make getResultBuffer (and other bufferize functions) independent of LinalgOps. Depends On D112902
Diff Detail
Event TimelineHerald added subscribers: wenzhicui, wrengr, Chia-hungDuan and 20 others. · View Herald TranscriptNov 1 2021, 12:50 AM springerm added a child revision: D112908: [mlir][linalg][bufferize] Add isWritable to op interface.Nov 1 2021, 12:57 AM Comment Actions As an alternative to this revision, I could also just use memref::CopyOp to get rid of the Linalg dependency. This revision is now accepted and ready to land.Nov 2 2021, 2:00 AM This revision was landed with ongoing or failed builds.Nov 4 2021, 6:49 PM Closed by commit rG3f6c0fb2ff75: [mlir][linalg][bufferize] Add MemCpyFn to AllocationCallbacks struct (authored by springerm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 383934 mlir/include/mlir/Dialect/Linalg/Transforms/ComprehensiveBufferize.h
mlir/lib/Dialect/Linalg/Transforms/ComprehensiveBufferize.cpp
|