Skip to content

Commit

Permalink
CI: Reduce optimization level for OneAPI
Browse files Browse the repository at this point in the history
  • Loading branch information
eschnett committed Oct 7, 2024
1 parent 8bce92a commit cad1c67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/actions-oneapi-real64.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ FPP_DEBUG_FLAGS = -DCARPET_DEBUG
F90_DEBUG_FLAGS = -fcheck=bounds,do,mem,pointer,recursion -finit-character=65 -finit-integer=42424242 -finit-real=nan

OPTIMISE = yes
# -O3 for SYCL leads to a segfault
C_OPTIMISE_FLAGS = -O3 -fexcess-precision=fast -ffp-contract=fast -fno-math-errno -fno-rounding-math
CXX_OPTIMISE_FLAGS = -O3 -fexcess-precision=fast -ffp-contract=fast -fno-math-errno -fno-rounding-math
CXX_OPTIMISE_FLAGS = -O2 -fexcess-precision=fast -ffp-contract=fast -fno-math-errno -fno-rounding-math
F90_OPTIMISE_FLAGS = -O3 -fcx-limited-range -fexcess-precision=fast -ffp-contract=fast -fno-math-errno -fno-rounding-math -fno-signaling-nans

# Clang segfaults with OpenMP enabled
Expand Down

0 comments on commit cad1c67

Please sign in to comment.