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

Mlir disable specific ops #2882

Merged
merged 4 commits into from
Mar 12, 2024
Merged

Mlir disable specific ops #2882

merged 4 commits into from
Mar 12, 2024

Conversation

pfultz2
Copy link
Collaborator

@pfultz2 pfultz2 commented Mar 12, 2024

Specific ops can be disabled using the ! or ~ prefix to disable it.

@pfultz2 pfultz2 requested a review from causten as a code owner March 12, 2024 17:25
Copy link

codecov bot commented Mar 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.82%. Comparing base (f18b3ae) to head (3c1d583).

❗ Current head 3c1d583 differs from pull request most recent head d346596. Consider uploading reports for the commit d346596 to get more accurate results

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2882   +/-   ##
========================================
  Coverage    91.82%   91.82%           
========================================
  Files          477      477           
  Lines        18112    18112           
========================================
  Hits         16631    16631           
  Misses        1481     1481           

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

umangyadav
umangyadav previously approved these changes Mar 12, 2024
{
if(s.empty())
return false;
return contains({'!', '~'}, s[0]);
Copy link
Member

@umangyadav umangyadav Mar 12, 2024

Choose a reason for hiding this comment

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

you don't necessarily need to use contains s[0] == '!' or s[0] == '~' should suffice.

@kahmed10
Copy link
Collaborator

We should update the documentation showing how to disable the specific ops

@umangyadav umangyadav dismissed their stale review March 12, 2024 19:48

need to address comments

@causten causten merged commit f1bf257 into develop Mar 12, 2024
35 of 42 checks passed
@causten causten deleted the mlir-disable-specific-ops branch March 12, 2024 20:38
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.

4 participants