Skip to content

[mlir] Add ContractionOpInterface utility functions for vector matrix multiplication - #68945

Merged
NatashaKnk merged 3 commits into
llvm:mainfrom
NatashaKnk:main
Oct 18, 2023
Merged

NatashaKnk merged 3 commits into
llvm:mainfrom
NatashaKnk:main

Conversation

@NatashaKnk

Copy link
Copy Markdown
Contributor

No description provided.

@dcaballe dcaballe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome! Just a couple of minor comments from my side!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: rename to VecMatMul/MatVecMul, VectorMatrixMult/MatrixVectorMult or similar?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My I kept them as vecmat/matvec since that's what the Linalg op is called. I agree that your version is clearer, but I'm not sure if it's better to stay consistent. Wdyt?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, fair enough. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants