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

interpreter: use interpreter default bitwidth in run main #3034

Merged
merged 3 commits into from
Oct 2, 2024

Conversation

superlopuh
Copy link
Member

No description provided.

@superlopuh superlopuh added the interpreter xDSL Interpreter label Aug 14, 2024
@superlopuh superlopuh requested a review from alexarice August 14, 2024 15:21
@superlopuh superlopuh self-assigned this Aug 14, 2024
@@ -62,6 +62,7 @@ def register_all_arguments(self, arg_parser: argparse.ArgumentParser):
arg_parser.add_argument(
"--index-bitwidth",
choices=(32, 64),
default=Interpreter.DEFAULT_BITWIDTH,
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is defined as the system bitwidth anyway

Copy link
Collaborator

Choose a reason for hiding this comment

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

Not clear to me what happened before if this wasn't specified

Copy link
Member Author

Choose a reason for hiding this comment

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

I added a comment, the argument value is None by default, so it was assigning None explicitly in the init, which was propagated

Copy link

codecov bot commented Aug 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 90.07%. Comparing base (7c54f35) to head (8fa3d8b).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3034      +/-   ##
==========================================
+ Coverage   90.05%   90.07%   +0.01%     
==========================================
  Files         435      436       +1     
  Lines       54647    54804     +157     
  Branches     8473     8510      +37     
==========================================
+ Hits        49214    49363     +149     
- Misses       4060     4062       +2     
- Partials     1373     1379       +6     

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

@superlopuh superlopuh marked this pull request as draft August 14, 2024 15:29
@superlopuh
Copy link
Member Author

I'll look into this and try to determine the difference in behaviour

@superlopuh superlopuh marked this pull request as ready for review October 1, 2024 14:04
@superlopuh superlopuh merged commit 07e8eba into main Oct 2, 2024
14 checks passed
@superlopuh superlopuh deleted the sasha/interpreter/use-default-bitwidth branch October 2, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter xDSL Interpreter
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants