Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add linalg.transpose #40

Merged
merged 5 commits into from
Oct 14, 2024
Merged

Add linalg.transpose #40

merged 5 commits into from
Oct 14, 2024

Conversation

amanda849
Copy link
Contributor

Adds and tests the linalg transpose op

mlir/dialects/linalg.py Outdated Show resolved Hide resolved
@amanda849 amanda849 requested a review from tbennun October 2, 2024 23:10
Copy link
Contributor

@tbennun tbennun left a comment

Choose a reason for hiding this comment

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

@amanda849 Are the latest changes to the test necessary? The space in the syntax definition should allow code to be written with (ins () and without whitespace (ins().

@tbennun tbennun mentioned this pull request Oct 13, 2024
@amanda849
Copy link
Contributor Author

@amanda849 Are the latest changes to the test necessary? The space in the syntax definition should allow code to be written with (ins () and without whitespace (ins().

Parsing works regardless of whitespace, but the dump generated for the op syntax field includes the whitespace. For the roundtrip check to pass, the space is needed.

@tbennun
Copy link
Contributor

tbennun commented Oct 14, 2024

Right, that makes perfect sense!

@tbennun tbennun merged commit 8d78c03 into spcl:master Oct 14, 2024
1 check passed
@amanda849 amanda849 deleted the linalg_transpose branch October 14, 2024 23:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants