Page MenuHomePhabricator

tavakkoliamirmohammad (Amir Mohammad Tavakkoli)
User

Projects

User does not belong to any projects.

User Details

User Since
Feb 23 2023, 11:14 AM (13 w, 3 d)

Recent Activity

Apr 14 2023

tavakkoliamirmohammad added a comment to D147830: [mlir][SCF][Transform] Add loop.coalesce_parallel Op in transform dialect.

Updated the op documentation and addressed the comments.

Apr 14 2023, 3:51 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad updated the diff for D147830: [mlir][SCF][Transform] Add loop.coalesce_parallel Op in transform dialect.
Apr 14 2023, 3:50 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad added a comment to D147830: [mlir][SCF][Transform] Add loop.coalesce_parallel Op in transform dialect.

Hi @ftynse @nicolasvasilache. Could you kindly review my submitted patch? Thanks!

Apr 14 2023, 2:45 PM · Restricted Project, Restricted Project

Apr 8 2023

tavakkoliamirmohammad added a comment to D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.

Hi Amir,

I have a question regarding the promote op patch.

When I chain 2 promote op together, both trying to promote operands in a tiled linalg.matmul, with the first one copies from global memory to L1, the second one copies from L1 to L0. I found all memref.copy op are placed in the inner most loop with copy sizes dependent on the inner most loop IV. However, this can lead to bad performance because when moving from GM to L1, it's often more profitable to move larger chunks of data (i.e. we can hoist the GM->L1 memref.copy ops into an outer loop, copying more data). I'm wondering if there are plans to make promote op more flexible, so that it can hoist some memref.copy ops to outer loops when possible?

Thanks.

Apr 8 2023, 9:12 AM · Restricted Project, Restricted Project

Apr 7 2023

tavakkoliamirmohammad updated the diff for D147830: [mlir][SCF][Transform] Add loop.coalesce_parallel Op in transform dialect.

Fix missing import after applying patch

Apr 7 2023, 9:30 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad requested review of D147830: [mlir][SCF][Transform] Add loop.coalesce_parallel Op in transform dialect.
Apr 7 2023, 6:18 PM · Restricted Project, Restricted Project

Mar 16 2023

tavakkoliamirmohammad added a comment to D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.

rebased

Mar 16 2023, 7:13 AM · Restricted Project, Restricted Project

Mar 14 2023

tavakkoliamirmohammad updated the diff for D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.
Mar 14 2023, 2:22 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad abandoned D146092: Fixed merge conflict.
Mar 14 2023, 2:15 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad requested review of D146092: Fixed merge conflict.
Mar 14 2023, 2:14 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad added a comment to D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.

Thank you! I don't have the commit access to LLVM project for applying this patch.

Mar 14 2023, 11:33 AM · Restricted Project, Restricted Project

Mar 8 2023

tavakkoliamirmohammad added a comment to D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.

Hi @nicolasvasilache, just wanted to check in and see if you had a chance to review the promotion logic yet. If you have any thoughts or feedback, it would be great to hear them. Thanks!

Mar 8 2023, 10:27 PM · Restricted Project, Restricted Project

Mar 1 2023

tavakkoliamirmohammad updated the diff for D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.

Fixed anti-pattern and return condition of allocateSubviewGPUMemoryInAddressSpace function

Mar 1 2023, 6:42 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad updated the diff for D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.

Update the diff based on the comment

Mar 1 2023, 1:13 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad added inline comments to D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.
Mar 1 2023, 1:09 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad updated the diff for D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.

Fix merge conflict

Mar 1 2023, 8:19 AM · Restricted Project, Restricted Project

Feb 28 2023

tavakkoliamirmohammad updated the diff for D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.
Feb 28 2023, 6:02 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad requested review of D144988: [mlir][Transform][LinAlg] Add copy permutation for GPU memory hierarchy in the `transform.promote` op.
Feb 28 2023, 10:44 AM · Restricted Project, Restricted Project

Feb 25 2023

tavakkoliamirmohammad added a comment to D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.

Thank you! I don't have the commit access to LLVM project for applying this patch.

Feb 25 2023, 9:16 AM · Restricted Project, Restricted Project

Feb 24 2023

tavakkoliamirmohammad updated the diff for D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.

Add /// comments. Replaced expensive query attribute with a simple code. Change the description of GPUMemorySpaceMappingAttr to reflect OpenCL terminology. Also, uploaded the patch with -U99999 flag

Feb 24 2023, 9:51 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad planned changes to D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.
Feb 24 2023, 9:47 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad updated the diff for D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.
Feb 24 2023, 9:47 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad updated the diff for D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.

Added a new device mapping enum for GPU memory hierarchy, removed comments, refactor allocation, deallocation, and copy function to linalg/Transform/promotion.cpp

Feb 24 2023, 8:51 AM · Restricted Project, Restricted Project

Feb 23 2023

tavakkoliamirmohammad added inline comments to D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.
Feb 23 2023, 7:16 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad updated the diff for D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.

Format the file and fix wrong diff file not including the private memory copy

Feb 23 2023, 1:59 PM · Restricted Project, Restricted Project
tavakkoliamirmohammad requested review of D144666: [mlir][LinAlg][Transform][GPU] Add GPU memory hierarchy to the transform.promote op.
Feb 23 2023, 12:11 PM · Restricted Project, Restricted Project