Page MenuHomePhabricator

mamrami (Maya Amrami)
User

Projects

User does not belong to any projects.

User Details

User Since
Sep 22 2022, 4:19 AM (25 w, 5 d)

Recent Activity

Today

mamrami added a comment to D146380: [mlir] Add signed int to TOSA supported types.
Tue, Mar 21, 9:08 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146380: [mlir] Add signed int to TOSA supported types.

Addressing CR and adding documentation

Tue, Mar 21, 9:07 AM · Restricted Project, Restricted Project
mamrami committed rGfd004a4986eb: [mlir] tosa.concat - Add InferTensorType interface (authored by mamrami).
[mlir] tosa.concat - Add InferTensorType interface
Tue, Mar 21, 8:01 AM · Restricted Project, Restricted Project
mamrami closed D146132: [mlir] tosa.concat - Add InferTensorType interface.
Tue, Mar 21, 8:01 AM · Restricted Project, Restricted Project

Yesterday

mamrami committed rG8bb5ca58327e: [mlir] Support bufferization of arith.constant to memref.global with memory… (authored by mamrami).
[mlir] Support bufferization of arith.constant to memref.global with memory…
Mon, Mar 20, 8:10 AM · Restricted Project, Restricted Project
mamrami closed D146381: [mlir] Support bufferization of arith.constant to memref.global with memory space.
Mon, Mar 20, 8:10 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146381: [mlir] Support bufferization of arith.constant to memref.global with memory space.

CR fix

Mon, Mar 20, 7:38 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146381: [mlir] Support bufferization of arith.constant to memref.global with memory space.

Fix bug

Mon, Mar 20, 7:16 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146380: [mlir] Add signed int to TOSA supported types.

rebase

Mon, Mar 20, 3:26 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146381: [mlir] Support bufferization of arith.constant to memref.global with memory space.

rebase

Mon, Mar 20, 3:24 AM · Restricted Project, Restricted Project

Sun, Mar 19

mamrami added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Sun, Mar 19, 8:22 AM · Restricted Project, Restricted Project, Restricted Project
mamrami added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Sun, Mar 19, 7:58 AM · Restricted Project, Restricted Project, Restricted Project
mamrami added a reviewer for D146381: [mlir] Support bufferization of arith.constant to memref.global with memory space: springerm.
Sun, Mar 19, 7:34 AM · Restricted Project, Restricted Project
mamrami requested review of D146381: [mlir] Support bufferization of arith.constant to memref.global with memory space.
Sun, Mar 19, 7:33 AM · Restricted Project, Restricted Project
mamrami added reviewers for D146380: [mlir] Add signed int to TOSA supported types: rsuderman, eric-k256.
Sun, Mar 19, 6:33 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146380: [mlir] Add signed int to TOSA supported types.

edit commit message

Sun, Mar 19, 6:32 AM · Restricted Project, Restricted Project
mamrami requested review of D146380: [mlir] Add signed int to TOSA supported types.
Sun, Mar 19, 6:31 AM · Restricted Project, Restricted Project
mamrami added a reviewer for D146132: [mlir] tosa.concat - Add InferTensorType interface: jpienaar.
Sun, Mar 19, 12:40 AM · Restricted Project, Restricted Project

Thu, Mar 16

mamrami added a comment to D146174: Add `tosa::ConcatOp` as legal in `TosaToLinalgPass`.

Update:
I pushed the fix and thanked you :)

Thu, Mar 16, 6:18 AM · Restricted Project, Restricted Project
mamrami committed rGfbf719b86846: [mlir] Fix legal/illegal ops in TosaToTensor & TosaToLinalg (authored by mamrami).
[mlir] Fix legal/illegal ops in TosaToTensor & TosaToLinalg
Thu, Mar 16, 6:16 AM · Restricted Project, Restricted Project
mamrami closed D146213: [mlir] Fix legal/illegal ops in TosaToTensor & TosaToLinalg.
Thu, Mar 16, 6:15 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146213: [mlir] Fix legal/illegal ops in TosaToTensor & TosaToLinalg.

commit message

Thu, Mar 16, 6:13 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146213: [mlir] Fix legal/illegal ops in TosaToTensor & TosaToLinalg.

Update commit message

Thu, Mar 16, 6:08 AM · Restricted Project, Restricted Project
mamrami added a comment to D146174: Add `tosa::ConcatOp` as legal in `TosaToLinalgPass`.

There was a bug in a test in flang but it was fixed so you can push/rebase

Thu, Mar 16, 4:13 AM · Restricted Project, Restricted Project
mamrami accepted D146174: Add `tosa::ConcatOp` as legal in `TosaToLinalgPass`.
Thu, Mar 16, 4:11 AM · Restricted Project, Restricted Project
mamrami added a comment to D146174: Add `tosa::ConcatOp` as legal in `TosaToLinalgPass`.

it's my fault.. https://reviews.llvm.org/D145952
I just uploaded a fix because I didn't see yours:
https://reviews.llvm.org/D146213

Thu, Mar 16, 4:10 AM · Restricted Project, Restricted Project
mamrami added reviewers for D146213: [mlir] Fix legal/illegal ops in TosaToTensor & TosaToLinalg: krzysz00, rsuderman.
Thu, Mar 16, 4:07 AM · Restricted Project, Restricted Project
mamrami requested review of D146213: [mlir] Fix legal/illegal ops in TosaToTensor & TosaToLinalg.
Thu, Mar 16, 4:06 AM · Restricted Project, Restricted Project
mamrami updated the diff for D146132: [mlir] tosa.concat - Add InferTensorType interface.

Rebase after the bug in flang fixed

Thu, Mar 16, 3:18 AM · Restricted Project, Restricted Project
mamrami added inline comments to D145883: [Flang][RISCV] Emit target features for RISC-V.
Thu, Mar 16, 1:50 AM · Restricted Project, Restricted Project, Restricted Project

Wed, Mar 15

mamrami added a reviewer for D146132: [mlir] tosa.concat - Add InferTensorType interface: rsuderman.
Wed, Mar 15, 6:04 AM · Restricted Project, Restricted Project
mamrami requested review of D146132: [mlir] tosa.concat - Add InferTensorType interface.
Wed, Mar 15, 6:01 AM · Restricted Project, Restricted Project

Tue, Mar 14

mamrami committed rGe377520a47e6: [mlir] Move tosa.concat lowering from TosaToLinalg to TosaToTensor (authored by mamrami).
[mlir] Move tosa.concat lowering from TosaToLinalg to TosaToTensor
Tue, Mar 14, 2:24 AM · Restricted Project, Restricted Project
mamrami closed D145952: [mlir] Move tosa.concat lowering from TosaToLinalg to TosaToTensor.
Tue, Mar 14, 2:24 AM · Restricted Project, Restricted Project
mamrami updated the diff for D145952: [mlir] Move tosa.concat lowering from TosaToLinalg to TosaToTensor.

clang format

Tue, Mar 14, 1:56 AM · Restricted Project, Restricted Project

Mon, Mar 13

mamrami added reviewers for D145952: [mlir] Move tosa.concat lowering from TosaToLinalg to TosaToTensor: rsuderman, nicolasvasilache.
Mon, Mar 13, 9:27 AM · Restricted Project, Restricted Project
mamrami requested review of D145952: [mlir] Move tosa.concat lowering from TosaToLinalg to TosaToTensor.
Mon, Mar 13, 9:26 AM · Restricted Project, Restricted Project

Wed, Feb 22

mamrami committed rG4511128fc903: [mlir][bufferization] Consider defaultMemorySpace when bufferizing FuncOp (authored by mamrami).
[mlir][bufferization] Consider defaultMemorySpace when bufferizing FuncOp
Wed, Feb 22, 6:45 AM · Restricted Project, Restricted Project
mamrami closed D144539: [mlir][bufferization] Consider defaultMemorySpace when bufferizing FuncOp.
Wed, Feb 22, 6:44 AM · Restricted Project, Restricted Project

Tue, Feb 21

mamrami added a reviewer for D144539: [mlir][bufferization] Consider defaultMemorySpace when bufferizing FuncOp: springerm.
Tue, Feb 21, 11:52 PM · Restricted Project, Restricted Project
mamrami requested review of D144539: [mlir][bufferization] Consider defaultMemorySpace when bufferizing FuncOp.
Tue, Feb 21, 11:51 PM · Restricted Project, Restricted Project

Feb 16 2023

mamrami committed rGace6072bca65: [mlir] PromoteBuffersToStackPass - Copy attributes of original AllocOp (authored by mamrami).
[mlir] PromoteBuffersToStackPass - Copy attributes of original AllocOp
Feb 16 2023, 7:07 AM · Restricted Project, Restricted Project
mamrami closed D143185: [mlir] PromoteBuffersToStackPass - Copy attributes of original AllocOp.
Feb 16 2023, 7:07 AM · Restricted Project, Restricted Project
mamrami added a comment to D143185: [mlir] PromoteBuffersToStackPass - Copy attributes of original AllocOp.

ping @dfki-jugr @pifon2a @herhut @nicolasvasilache

Feb 16 2023, 6:36 AM · Restricted Project, Restricted Project

Feb 12 2023

mamrami added reviewers for D143185: [mlir] PromoteBuffersToStackPass - Copy attributes of original AllocOp: pifon2a, herhut.
Feb 12 2023, 1:59 AM · Restricted Project, Restricted Project

Feb 7 2023

mamrami committed rG9cf96850c397: [mlir][bufferize] Add noAnalysisFuncFilter to OneShotBufferizationOptions struct (authored by mamrami).
[mlir][bufferize] Add noAnalysisFuncFilter to OneShotBufferizationOptions struct
Feb 7 2023, 2:38 AM · Restricted Project, Restricted Project
mamrami closed D143416: [mlir][bufferize] Add noAnalysisFuncFilter to OneShotBufferizationOptions struct.
Feb 7 2023, 2:38 AM · Restricted Project, Restricted Project

Feb 6 2023

mamrami added a reviewer for D143416: [mlir][bufferize] Add noAnalysisFuncFilter to OneShotBufferizationOptions struct: springerm.
Feb 6 2023, 9:44 AM · Restricted Project, Restricted Project
mamrami requested review of D143416: [mlir][bufferize] Add noAnalysisFuncFilter to OneShotBufferizationOptions struct.
Feb 6 2023, 9:43 AM · Restricted Project, Restricted Project

Feb 5 2023

mamrami abandoned D141377: [mlir] - [NFC] Fix failing lit test.
Feb 5 2023, 6:09 AM · Restricted Project, Restricted Project
mamrami updated the diff for D143185: [mlir] PromoteBuffersToStackPass - Copy attributes of original AllocOp.

Add custom attribute to the lit test

Feb 5 2023, 5:57 AM · Restricted Project, Restricted Project

Feb 2 2023

mamrami added a reviewer for D143185: [mlir] PromoteBuffersToStackPass - Copy attributes of original AllocOp: dfki-jugr.
Feb 2 2023, 7:27 AM · Restricted Project, Restricted Project
mamrami requested review of D143185: [mlir] PromoteBuffersToStackPass - Copy attributes of original AllocOp.
Feb 2 2023, 7:23 AM · Restricted Project, Restricted Project

Feb 1 2023

mamrami added a comment to D119935: [mlir][bufferize] Partly support memrefs with non-standard layout in `finalizing-bufferize`.

Your example will work for me, I'll just have to add a pass where I insert this alloc_tensor.
Actually I expected this to happen naturally in insertTensorCopies stage.

Feb 1 2023, 9:42 AM · Restricted Project, Restricted Project
mamrami added inline comments to D119935: [mlir][bufferize] Partly support memrefs with non-standard layout in `finalizing-bufferize`.
Feb 1 2023, 8:27 AM · Restricted Project, Restricted Project
Herald added a reviewer for D119935: [mlir][bufferize] Partly support memrefs with non-standard layout in `finalizing-bufferize`: nicolasvasilache.
Feb 1 2023, 7:10 AM · Restricted Project, Restricted Project

Jan 31 2023

mamrami committed rGac64c54649d6: [mlir][bufferization] Fix failing lit test (authored by mamrami).
[mlir][bufferization] Fix failing lit test
Jan 31 2023, 3:11 AM · Restricted Project, Restricted Project
mamrami closed D142969: [mlir][bufferization] Fix failing lit test.
Jan 31 2023, 3:11 AM · Restricted Project, Restricted Project
mamrami added a reviewer for D142969: [mlir][bufferization] Fix failing lit test: springerm.
Jan 31 2023, 2:59 AM · Restricted Project, Restricted Project
mamrami requested review of D142969: [mlir][bufferization] Fix failing lit test.
Jan 31 2023, 2:58 AM · Restricted Project, Restricted Project
mamrami committed rG060c8be51bdf: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter (authored by mamrami).
[mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter
Jan 31 2023, 1:26 AM · Restricted Project, Restricted Project
mamrami closed D142631: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter.
Jan 31 2023, 1:26 AM · Restricted Project, Restricted Project

Jan 30 2023

mamrami added a comment to D142631: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter.

Then you can bufferize with One-Shot Bufferize first, excluding all FuncOps of which you know that they cannot be bufferized. Then run the bufferization with copyBeforeWrite = true on all excluded FuncOps.

Jan 30 2023, 6:30 AM · Restricted Project, Restricted Project
mamrami retitled D142631: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter from [mlir] OneShotModuleBufferize- Copy buffers in FuncOps that could not be analyzed to [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter.
Jan 30 2023, 6:25 AM · Restricted Project, Restricted Project
mamrami updated the diff for D142631: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter.

Addressing code review

Jan 30 2023, 6:24 AM · Restricted Project, Restricted Project

Jan 26 2023

mamrami added a comment to D132027: [mlir][bufferize] Better error handling: Fail if ToMemrefOps are found.

Thanks @springerm
I tried it, added this patch: https://reviews.llvm.org/D142631

Jan 26 2023, 7:47 AM · Restricted Project, Restricted Project
mamrami added a reviewer for D142631: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter: springerm.
Jan 26 2023, 7:45 AM · Restricted Project, Restricted Project
mamrami retitled D142631: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter from [mlir] OneShotModuleBufferize- Copy buffers in FuncOps that failed during analysis to [mlir] OneShotModuleBufferize- Copy buffers in FuncOps that could not be analyzed.
Jan 26 2023, 7:44 AM · Restricted Project, Restricted Project
mamrami updated the diff for D142631: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter.

edit title

Jan 26 2023, 7:43 AM · Restricted Project, Restricted Project
mamrami requested review of D142631: [mlir][OneShotModuleBufferize] Add a new flag: no-analysis-func-filter.
Jan 26 2023, 7:35 AM · Restricted Project, Restricted Project
mamrami abandoned D142195: [mlir][Bufferization] Extend the folding of to_tensor(to_memref).

Is it possible to give them a tensor signature? Then you could bufferize the entire thing with One-Shot Bufferize.

Jan 26 2023, 4:48 AM · Restricted Project, Restricted Project

Jan 23 2023

mamrami added a comment to D142195: [mlir][Bufferization] Extend the folding of to_tensor(to_memref).

@springerm - my case is a bit different/special. I have an IR with functions that have memref based signature.
Some of them have implementation - and it is a tensor based implementation, meaning I have to_tensor/to_memrefs on args/results.
I had to inline some of them to one function that will be pure tensor based function. On this function I run OneShotBufferize.
After inlining I had the intermediate to_tensor(to_memref), and I expected them to fold.
That's how I got to all the wondering about the folding.
I understand now that the general case is much more complicated than my case.
So I decided to manually move the to_tensor right after their to_memref - because in my case I know it is not changing the meaning of the IR.

Jan 23 2023, 2:06 AM · Restricted Project, Restricted Project

Jan 20 2023

mamrami added reviewers for D142195: [mlir][Bufferization] Extend the folding of to_tensor(to_memref): mehdi_amini, tpopp, springerm.
Jan 20 2023, 2:33 AM · Restricted Project, Restricted Project
mamrami updated the diff for D142195: [mlir][Bufferization] Extend the folding of to_tensor(to_memref).

lit test change

Jan 20 2023, 2:32 AM · Restricted Project, Restricted Project
mamrami updated the diff for D142195: [mlir][Bufferization] Extend the folding of to_tensor(to_memref).

Change operation in lit test.

Jan 20 2023, 2:27 AM · Restricted Project, Restricted Project
mamrami requested review of D142195: [mlir][Bufferization] Extend the folding of to_tensor(to_memref).
Jan 20 2023, 2:18 AM · Restricted Project, Restricted Project

Jan 19 2023

mamrami added a comment to D141374: [mlir] FuncInlinerInterface: Control whether a CallOp will be inlined.

Do you suggest adding this attribute to the func dialect? Or do you suggest discussing the whole idea of not always returning true?

Jan 19 2023, 7:28 AM · Restricted Project, Restricted Project

Jan 15 2023

mamrami added a comment to D141374: [mlir] FuncInlinerInterface: Control whether a CallOp will be inlined.

I had a scenario where I wanted the callOp not to be inlined.
This is how I solved it, based on your change in Test dialect: https://reviews.llvm.org/D90359
Do you think I should implement it differently?

Jan 15 2023, 3:57 AM · Restricted Project, Restricted Project

Jan 12 2023

mamrami added a comment to D141377: [mlir] - [NFC] Fix failing lit test.

Since this is my first commit, I can't commit it by myself.
Can you please commit it for me? (https://llvm.org/docs/Phabricator.html#committing-someone-s-change-from-phabricator)
Thanks!

Jan 12 2023, 3:34 AM · Restricted Project, Restricted Project
mamrami added inline comments to D141377: [mlir] - [NFC] Fix failing lit test.
Jan 12 2023, 3:32 AM · Restricted Project, Restricted Project

Jan 11 2023

mamrami added inline comments to D141377: [mlir] - [NFC] Fix failing lit test.
Jan 11 2023, 5:56 AM · Restricted Project, Restricted Project

Jan 10 2023

mamrami retitled D141377: [mlir] - [NFC] Fix failing lit test from [mlir] - Fix failing lit test to [mlir] - [NFC] Fix failing lit test.
Jan 10 2023, 11:43 PM · Restricted Project, Restricted Project
mamrami added a reviewer for D141374: [mlir] FuncInlinerInterface: Control whether a CallOp will be inlined: rriddle.
Jan 10 2023, 11:42 PM · Restricted Project, Restricted Project
mamrami added a comment to D132027: [mlir][bufferize] Better error handling: Fail if ToMemrefOps are found.

The input in your test case has mixed tensor/memref ops. How did you get to that state? Can you use -one-shot-bufferize="bufferize-function-boundaries" on the initial IR when everything is tensors?

Jan 10 2023, 9:44 AM · Restricted Project, Restricted Project
mamrami added a reviewer for D141377: [mlir] - [NFC] Fix failing lit test: springerm.
Jan 10 2023, 8:48 AM · Restricted Project, Restricted Project
mamrami requested review of D141377: [mlir] - [NFC] Fix failing lit test.
Jan 10 2023, 5:23 AM · Restricted Project, Restricted Project
mamrami requested review of D141374: [mlir] FuncInlinerInterface: Control whether a CallOp will be inlined.
Jan 10 2023, 4:44 AM · Restricted Project, Restricted Project
mamrami added a comment to D132027: [mlir][bufferize] Better error handling: Fail if ToMemrefOps are found.

Hi!
I suspect this assertion is too strict.
I have here a piece of code that works without the assertion but fails when the assertion is there:

Jan 10 2023, 12:57 AM · Restricted Project, Restricted Project