File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed
Docs/sphinx_documentation/source Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -532,8 +532,8 @@ The list of available options is reported in the :ref:`table <tab:cmakevar>` bel
532532 +------------------------------+-------------------------------------------------+-------------------------+-----------------------+
533533 | AMReX_PROBINIT | Enable support for probin file | Platform dependent | YES, NO |
534534 +------------------------------+-------------------------------------------------+-------------------------+-----------------------+
535- | AMReX_FLATTEN_FOR | Enable flattening of ParallelFor and similar | YES unless for Debug | YES, NO |
536- | | functions for host code | build | |
535+ | AMReX_FLATTEN_FOR | Enable flattening of ParallelFor and similar | NO | YES, NO |
536+ | | functions for host code | | |
537537 +------------------------------+-------------------------------------------------+-------------------------+-----------------------+
538538.. raw:: latex
539539
Original file line number Diff line number Diff line change @@ -377,11 +377,7 @@ endif ()
377377
378378print_option( AMReX_ASSERTIONS )
379379
380- if ( "${CMAKE_BUILD_TYPE} " MATCHES "Debug" )
381- option ( AMReX_FLATTEN_FOR "Enable flattening of ParallelFor and other similar functions" OFF )
382- else ()
383- option ( AMReX_FLATTEN_FOR "Enable flattening of ParallelFor and other similar functions" ON )
384- endif ()
380+ option ( AMReX_FLATTEN_FOR "Enable flattening of ParallelFor and other similar functions" OFF )
385381print_option( AMReX_FLATTEN_FOR )
386382
387383option (AMReX_BOUND_CHECK "Enable bound checking in Array4 class" OFF )
Original file line number Diff line number Diff line change @@ -314,7 +314,7 @@ endif
314314ifdef USE_FLATTEN_FOR
315315 USE_FLATTEN_FOR := $(strip $(USE_FLATTEN_FOR))
316316else
317- USE_FLATTEN_FOR := TRUE
317+ USE_FLATTEN_FOR := FALSE
318318endif
319319
320320ifdef WARN_ALL
You can’t perform that action at this time.
0 commit comments