1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

changes in configure.ac ; to be verified

This commit is contained in:
nmeyer-ur 2020-04-23 11:27:03 +02:00
parent 6f44e3c192
commit 09f0963d1f

View File

@ -199,7 +199,7 @@ if test "${ac_MKL}x" != "nox"; then
fi fi
if test "${ac_IPP}x" != "nox"; then if test "${ac_IPP}x" != "nox"; then
AC_SEARCH_LIBS([ippsCRC32C_8u], [ippdc], AC_SEARCH_LIBS([ippsCRC32C_8u], [ippdc],
[LIBS="${LIBS} -lippdc -lippvm -lipps -lippcore"], [LIBS="${LIBS} -lippdc -lippvm -lipps -lippcore"],
[AC_MSG_ERROR("Intel IPP enabled but library not found")]) [AC_MSG_ERROR("Intel IPP enabled but library not found")])
fi fi
@ -274,8 +274,8 @@ case ${ac_gen_scalar} in
esac esac
##################### Compiler dependent choices ##################### Compiler dependent choices
case ${CXX} in case ${CXX} in
nvcc) nvcc)
# CXX="nvcc -keep -v -x cu " # CXX="nvcc -keep -v -x cu "
# CXXLD="nvcc -v -link" # CXXLD="nvcc -v -link"
CXX="nvcc -x cu " CXX="nvcc -x cu "
@ -286,11 +286,17 @@ case ${CXX} in
CXXFLAGS="$CXXFLAGS -Xcompiler -fopenmp" CXXFLAGS="$CXXFLAGS -Xcompiler -fopenmp"
fi fi
;; ;;
g++-10.0.1)
CXXLD=${CXX}
# removed no-strict-aliasing flag here; only VLA tested
CXXFLAGS="$CXXFLAGS -msve-vector-bits=512"
armclang++)
CXXLD=${CXX}
# removed no-strict-aliasing flag here; no loop unrolling for VLA
CXXFLAGS="$CXXFLAGS -fno-unroll-loops -mllvm -vectorizer-min-trip-count=2"
*) *)
CXXLD=${CXX} CXXLD=${CXX}
# CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
#CXXFLAGS="$CXXFLAGS -fno-strict-aliasing"
CXXFLAGS="$CXXFLAGS"
;; ;;
esac esac
@ -632,4 +638,3 @@ AC_OUTPUT
echo "" echo ""
cat grid.configure.summary cat grid.configure.summary
echo "" echo ""