Skip to content

Commit

Permalink
Default to develop-mode=off
Browse files Browse the repository at this point in the history
  • Loading branch information
FabioLuporini committed Dec 11, 2023
1 parent b95947e commit cb95673
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions devito/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,10 @@ def autotune_callback(val): # noqa
impacts_jit=False)

# In develop-mode:
# - Some optimizations may not be applied to the generated code.
# - The compiler performs more type and value checking
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
configuration.add('develop-mode', False, [False, True])

# Setup optimization level
configuration.add('opt', 'advanced', list(operator_registry._accepted), deprecate='dle')
Expand Down

0 comments on commit cb95673

Please sign in to comment.