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

dialects: (memref_stream) add doc and library call support #2928

Merged
merged 2 commits into from
Jul 23, 2024

Conversation

jorendumoulin
Copy link
Collaborator

@jorendumoulin jorendumoulin commented Jul 23, 2024

We are using the library_call attribute to designate to which accelerator we want to dispatch a certain linalg generic to. Right now, this information gets lost when converting from linalg.generic to memref_stream.generic, which is somewhat annoying. This PR adds support for these generic attributes in the memref stream dialect.

@jorendumoulin jorendumoulin requested a review from superlopuh July 23, 2024 07:33
@jorendumoulin jorendumoulin self-assigned this Jul 23, 2024
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.92%. Comparing base (6154c9e) to head (9a38bd5).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2928      +/-   ##
==========================================
+ Coverage   89.91%   89.92%   +0.01%     
==========================================
  Files         405      405              
  Lines       50594    50602       +8     
  Branches     7822     7824       +2     
==========================================
+ Hits        45490    45504      +14     
+ Misses       3870     3865       -5     
+ Partials     1234     1233       -1     

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

@jorendumoulin jorendumoulin force-pushed the joren/memref-stream-library-call branch from b56d913 to 9a38bd5 Compare July 23, 2024 08:40
@jorendumoulin jorendumoulin merged commit 7edabb0 into main Jul 23, 2024
10 checks passed
@jorendumoulin jorendumoulin deleted the joren/memref-stream-library-call branch July 23, 2024 13:29
jorendumoulin added a commit that referenced this pull request Jul 26, 2024
…ic constructors (#2941)

Without these, the attributes still get lost along the way. I forgot to
add them to #2928
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