A new build option to force flattening of ParallelFor and similar functions for host device. The default is yes unless it's a debug build. The CMake option is AMReX_FLATTEN_FOR, whereas for GNU make, it's USE_FLATTEN_FOR.
A GCC CI failed with g++-8: fatal error: Killed signal terminated program cc1plus. I cannot reproduce it with GCC 9. May have to disable flattening in that test.
A new build option to force flattening of ParallelFor and similar functions for host device. The default is yes unless it's a debug build. The CMake option is AMReX_FLATTEN_FOR, whereas for GNU make, it's USE_FLATTEN_FOR.