-
Notifications
You must be signed in to change notification settings - Fork 229
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
misc: Switch off develop-mode #2280
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2280 +/- ##
==========================================
- Coverage 86.82% 86.82% -0.01%
==========================================
Files 229 229
Lines 42441 42453 +12
Branches 7868 7876 +8
==========================================
+ Hits 36851 36859 +8
- Misses 4931 4941 +10
+ Partials 659 653 -6 ☔ View full report in Codecov by Sentry. |
cb95673
to
f9759ae
Compare
configuration.add('develop-mode', True, [False, True]) | ||
# - The ALLOC_GUARD data allocator is used. This will trigger segfaults as soon | ||
# as an out-of-bounds memory access is performed | ||
# - Some autoi-tuning optimizations are disabled |
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.
Typo 'autoi'
@@ -7,7 +7,7 @@ | |||
from devito.core.autotuning import options # noqa | |||
|
|||
|
|||
@switchconfig(log_level='DEBUG') | |||
@switchconfig(log_level='DEBUG', develop_mode=True) |
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.
It needs to be documented that setting log_level='DEBUG' also turns on develop_mode.
Also, as ALLOC_GUARD can cause incorrect behavior when data streaming with an accelerator, shouldn't there be an additional check to ensure it's not enabled in that case?
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
This was a legacy thing. Pointless.
In fact, potentially harmful for data transfer performance since aligned based addresses will result in higher performance with most device backends