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

fix dialect(::Operation) #48

Merged
merged 2 commits into from
Jan 24, 2024
Merged

fix dialect(::Operation) #48

merged 2 commits into from
Jan 24, 2024

Conversation

Pangoraw
Copy link
Member

No description provided.

@codecov-commenter
Copy link

codecov-commenter commented Jan 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (3a43434) 2.78% compared to head (c615f40) 3.07%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #48      +/-   ##
========================================
+ Coverage   2.78%   3.07%   +0.29%     
========================================
  Files        107     107              
  Lines      26060   26060              
========================================
+ Hits         725     802      +77     
+ Misses     25335   25258      -77     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Pangoraw
Copy link
Member Author

I am not sure about the Symbol return type for this function, maybe it should be String?

@vchuravy
Copy link
Collaborator

I am not sure about the Symbol return type for this function, maybe it should be String?

I think either would be fine

@Pangoraw Pangoraw merged commit 3fd9f2e into main Jan 24, 2024
5 checks passed
@Pangoraw Pangoraw deleted the Pangoraw-patch-1 branch January 24, 2024 17:47

@testset "operation introspection" begin
IR.context!(IR.Context()) do
IR.get_or_load_dialect!("linalg")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Should this have been arith?

Copy link
Member Author

Choose a reason for hiding this comment

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

unfortunately, mlirGetDialectHandle__arith__ does not exist so I had to load transitively with linalg.

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.

3 participants