User Details
- User Since
- Apr 20 2020, 3:53 AM (39 w, 19 h)
Sep 8 2020
Sep 7 2020
Address the comment.
BufferAssignmentPlacer is removed, and comments are addressed.
Sep 4 2020
Thanks.
Address the comments.
Sep 3 2020
@rupprecht I am investigating the downstream issue.
Sep 2 2020
Resolve the failure
Reopen to resolve the failure.
Resolve the minor comment before landing
Aug 31 2020
Resolving comments
Aug 11 2020
Resolve comments, change setResultConversionKind to a mapping (i.e. setResultConversionKind<RankedTensorType, MemRefType>(AppendToArguementList)), and introduce addDecomposeTypeConversion.
Aug 3 2020
Jul 27 2020
Address the comments.
Jul 24 2020
Jul 22 2020
@rriddle Thanks for the comments. They will be fixed in the upcoming PR for the copy removal.
Jul 21 2020
@bondhugula Yes, I am working on it.
@rriddle @mehdi_amini We have started to provide a detailed document for BA.
Jul 3 2020
The following points are addressed:
- The remaining comments are resolved.
- CopyOpInterface is introduced and added to linalg.copy.
- Make this pass generic for all copies.
- The pass is moved to mlir/lib/transforms.
- copy-removal.mlir is moved to mlir/test/transforms.
Jul 1 2020
Add another copy removal condition and a few more test cases.
Address the multiple deallocation issue.
Jun 30 2020
@mehdi_amini Is there any generic copy interface available? The other problem would be in test files that how we can specify the copy operation class for the pass. @herhut suggested that since it is going to be a dialect independent and unique copy at the end, we can start with linalg.copy and generalize it later on.
In summary, what we'd like to achieve is to remove %to value and the Copy operation, and replace all its uses with %from value. In both of these examples, if we remove %to and the copy operation, and replace it with %from, the logic of the program will change.
Comments are addressed.
Jun 29 2020
Jun 8 2020
Jun 5 2020
Thanks for suggesting to use the Pass option. I made TestBufferPlacementPreparationPass a template struct due to the fact that registerTestBufferPlacementPreparationPass and registerTestPreparationPassWithAllowedMemrefResults are two passes for only test purposes which shouldn't be publicly seen.
Correct the position of registerTestPreparationPassWithAllowedMemrefResults.
Address the comments.
Jun 4 2020
Jun 2 2020
Resolve the comments.
May 29 2020
Removing unnecessary mapping.
May 28 2020
Change walk return type to WalkResult and move BlockAndValueMapping before adding new arguments to the new block.
Addressed the comments.
May 19 2020
Change Assert to emitError and add a test case for the generated error.
May 15 2020
BufferAssignmentPlacer now fails in cases that function returns buffers already. A note has also been added to the description of BufferPlacement.cpp about not supporting these cases. The related TODO in TensorsToBuffers.cpp has also been removed.
May 13 2020
May 7 2020
May 5 2020
Add description and indent.
Addressing the comments.
May 4 2020
Apr 30 2020
Address the comments.
Apr 29 2020
Address the comments.
Apr 28 2020
Apr 27 2020
Taking Context and ConversionTarget out of the scope of function walk.