Replies: 4 comments 4 replies
-
|
Beta Was this translation helpful? Give feedback.
-
rocMLIR techniques
|
Beta Was this translation helpful? Give feedback.
-
We (me and Giuseppe) had a chat with a person from AIE team. Firstly, they work on SSA. Secondly, they get much of the views done via tensor.pack (can do perms, merge and unmerge) They have not thought about embed -- I could not immediately map/find anything map this to upstream dialects. |
Beta Was this translation helpful? Give feedback.
-
Reviving this thread in anticipation for possible future integrations of rocMLIR. I am forming an opinion the coordinate transforms should just be a pretty constructors of affine maps and we should move our lowering/optimizations to be based on affine maps. The most important lowering related concern is vector length inference. I think we should be able to get this information by implementing a stride propogation mechanism for which have variety of number of tickets for problem key v2 reasons. The only thing that stands in the way is padding. One thought it we can have a rock.implicit_pad op (ViewLikeOp) and somehow lower that to some metadata. Im thinking of ( or similiar just a random thought cooked up just now; so dont get hung up on the interface and Im just trying to convey the idea)
This would allow us to make use of fusions either in the form of rock.transforms or linalg.pack + linalg.pad which we can lower to a combination of vectors of affine maps + rock.pad operations. I d also think of carving a out a middle-end dialect for rock (that does not include things that are not needed for future possible integration). |
Beta Was this translation helpful? Give feedback.
-
List rocMLIR techniques and Linalg alternatives
Beta Was this translation helpful? Give feedback.
All reactions