mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
Some modifications to the configure to check SIMD support
This commit is contained in:
parent
be66fdcfab
commit
4403e117a7
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