mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-09 23:45:36 +00:00
Some modifications to the configure to check SIMD support
This commit is contained in:
parent
19bd6f103a
commit
f41e4e8b1b
2
configure
vendored
2
configure
vendored
@ -6709,7 +6709,7 @@ $as_echo "$as_me: WARNING: Your processor does not support AVX2 instructions" >&
|
||||
|
||||
$as_echo "#define AVX512 1" >>confdefs.h
|
||||
|
||||
supported=yes
|
||||
supported="cross compilation"
|
||||
;;
|
||||
*)
|
||||
as_fn_error $? "${ac_SIMD} unsupported --enable-simd option" "$LINENO" 5;
|
||||
|
@ -3,7 +3,7 @@
|
||||
#
|
||||
# Project Grid package
|
||||
#
|
||||
# Time-stamp: <2015-05-27 18:29:04 neo>
|
||||
# Time-stamp: <2015-05-27 18:51:47 neo>
|
||||
|
||||
AC_PREREQ([2.63])
|
||||
AC_INIT([Grid], [1.0], [paboyle@ph.ed.ac.uk])
|
||||
@ -106,7 +106,7 @@ case ${ac_SIMD} in
|
||||
AVX512|MIC)
|
||||
echo Configuring for AVX512 and MIC
|
||||
AC_DEFINE([AVX512],[1],[AVX512] )
|
||||
supported=yes
|
||||
supported="cross compilation"
|
||||
;;
|
||||
*)
|
||||
AC_MSG_ERROR([${ac_SIMD} unsupported --enable-simd option]);
|
||||
|
Loading…
Reference in New Issue
Block a user