mirror of
https://github.com/paboyle/Grid.git
synced 2025-08-23 22:47:10 +01:00
Control scalar execution or vector under generic. Disable Eigen vectorisation on powerpc / SUmmit
This commit is contained in:
14
configure.ac
14
configure.ac
@@ -234,6 +234,20 @@ AC_ARG_ENABLE([gen-simd-width],
|
||||
[ac_gen_simd_width=$enable_gen_simd_width],
|
||||
[ac_gen_simd_width=32])
|
||||
|
||||
AC_ARG_ENABLE([gen-scalar],
|
||||
[AS_HELP_STRING([--enable-gen-scalar=yes|no],
|
||||
[enable generic scalar implementation])],
|
||||
[ac_gen_scalar=$enable_gen_scalar],
|
||||
[ac_gen_scalar=no])
|
||||
|
||||
case ${ac_gen_scalar} in
|
||||
yes)
|
||||
AC_DEFINE([GENERIC_SCALAR],[1],[Use scalar data parallel loops])
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
esac
|
||||
|
||||
##################### Compiler dependent choices
|
||||
case ${CXX} in
|
||||
nvcc)
|
||||
|
Reference in New Issue
Block a user