Commit 2cd30db5 authored by Nichols, Stephen's avatar Nichols, Stephen
Browse files

Changes to be committed:

	modified:   Makefile

-O2 optimization is faster on Crusher
parent e8debd78
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -53,8 +53,10 @@ ifeq ($(MACHINE),Spock)

      ifeq ($(CPU_or_GPU),GPU)
         ### GPU
         FFLAGS = -N1023 -O3 -homp -em -ef -eT -ffree -DUSE_OPENMP_OFFLOAD -DUSE_AMD 
         FFLAGS = -N1023 -O2 -homp -eo -em -ef -eT -ffree -DUSE_OPENMP_OFFLOAD -DUSE_AMD 
         ##FFLAGS += -I$(ROCM_INC_PATH)
         #FFLAGS += -hnofma
         #FFLAGS += -hflex_mp=strict -hfp2=noapprox -hacc_model=no_fast_addr -hacc_model=auto_async_none
         LDFLAGS = -homp -L$(ROCM_LIB_PATH) -lamdhip64 -lhsa-runtime64
      else
         ### CPU-only without OpenMP