-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[CLI] Add TI_ADVANCED_OPTIMIZATION config env var #1212
Conversation
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.
Thanks! Originally the flag was introduced as an ad-hoc solution to long compilation time, but now it seems that we have to live with it for long... Yes, in the future we should make it part of CompileConfig
. Maybe we should change the name to allow_expensive_optimizations
?
IMO the current name is good enough :) |
Codecov Report
@@ Coverage Diff @@
## master #1212 +/- ##
==========================================
- Coverage 67.10% 67.08% -0.03%
==========================================
Files 35 35
Lines 4831 4834 +3
Branches 885 886 +1
==========================================
+ Hits 3242 3243 +1
- Misses 1414 1415 +1
- Partials 175 176 +1
Continue to review full report at Codecov.
|
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.
LGTM!
Please checkout #988 and https://github.com/taichi-dev/taichi/pull/1058/files#diff-60ee40c377644d6a6a4ff0cedad49110R182: we can obtain the |
So, should I refactor all |
I think that should be in another PR. |
Great! Let's merge this then, |
Related issue = #... (if any)
Btw. is that possible to move
advanced_optimization
toCompilerConfig
?