-
Notifications
You must be signed in to change notification settings - Fork 129
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
Create JSON or YAML Files with Loop Features/Configurations #557
Create JSON or YAML Files with Loop Features/Configurations #557
Conversation
Codecov Report
@@ Coverage Diff @@
## development #557 +/- ##
===============================================
+ Coverage 87.42% 88.24% +0.81%
===============================================
Files 113 114 +1
Lines 6411 6693 +282
===============================================
+ Hits 5605 5906 +301
+ Misses 806 787 -19
Continue to review full report at Codecov.
|
Co-authored-by: Chris Cummins <chrisc.101@gmail.com>
I refactored the code and added another option to dump to JSON. So now, I also added IRCanonicalizer as a third-party directory, and made it optional to run its pases in our
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @mostafaelhoushi, thanks for taking a look at my suggestions and sorry for the extra hassle!
I also added IRCanonicalizer as a third-party directory, and made it optional to run its pases in our opt_loops tool. However, it seems from the first try that it didn't solve the problem. But perhaps I can make a closer look.
Ah, that's a pity. It will be useful to have the canonicalizer in our codebase, I think it would make a useful addition to the python APIs.
The README needs a few extra details (see inline comment). Aside from that, and some minor nitpicks, LGTM! Please merge when you're happy.
Cheers,
Chris
Co-authored-by: Chris Cummins <chrisc.101@gmail.com>
Co-authored-by: Chris Cummins <chrisc.101@gmail.com>
Co-authored-by: Chris Cummins <chrisc.101@gmail.com>
Co-authored-by: Chris Cummins <chrisc.101@gmail.com>
Thanks Chris. There was no hassle at all :) |
Added an option to the
opt_loops
tool to dump a YAML loop features/configuration file. The objectives of this YAML file are:Here is an example of how the YAML file looked like for
add.c
benchmark:Some issues that we need to fix/improve in the YAML file:
name
,id
, etc. changemain()
function (or to be generic, hide/show loops of specific functions)For next steps, I plan to: