Commit aab12d57 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Add extra flags recommended for EPYC

From http://www.prace-ri.eu/IMG/pdf/Best-Practice-Guide-AMD.pdf, note we add these to CFLAGS as the icc_flags is a choice vector
parent 30e3e622
......@@ -138,7 +138,8 @@ if test "$ac_test_CFLAGS" != "set"; then
*061?f??:*:*:*|61?f??:*:*:*) icc_flags="-march=core-avx2" ;;
*06??f??:*:*:*|6??f??:*:*:*) icc_flags="-march=core-avx2" ;;
*070?f??:*:*:*|70?f??:*:*:*) icc_flags="-march=core-avx2" ;;
83?f??:*:*:*) icc_flags="-march=core-avx2" ;; # EPYC
83?f??:*:*:*) icc_flags="-march=core-avx2"
CFLAGS="$CFLAGS -fma -ftz -fomit-frame-pointer";; # EPYC
esac ;;
esac ;;
esac
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment