|
@@ -2777,6 +2777,13 @@ AM_CONDITIONAL(STARPU_HAVE_CBLAS_H, test x$have_cblas_h = xyes)
|
|
if test x$have_cblas_h = xyes; then
|
|
if test x$have_cblas_h = xyes; then
|
|
AC_DEFINE(STARPU_HAVE_CBLAS_H, [1], [The blas library has blas.h])
|
|
AC_DEFINE(STARPU_HAVE_CBLAS_H, [1], [The blas library has blas.h])
|
|
fi
|
|
fi
|
|
|
|
+if test x$blas_lib != xnone; then
|
|
|
|
+ SAVED_LIBS="$LIBS"
|
|
|
|
+ LIBS="$LIBS -lblas"
|
|
|
|
+ AC_CHECK_FUNCS([cblas_sgemv])
|
|
|
|
+ LIBS="$SAVED_LIBS"
|
|
|
|
+fi
|
|
|
|
+AM_CONDITIONAL(STARPU_HAVE_CBLAS_SGEMV, test $HAVE_CBLAS_SGEMV = 1)
|
|
|
|
|
|
AM_CONDITIONAL(STARPU_ATLAS_BLAS_LIB, test x$blas_lib = xatlas)
|
|
AM_CONDITIONAL(STARPU_ATLAS_BLAS_LIB, test x$blas_lib = xatlas)
|
|
AM_CONDITIONAL(STARPU_GOTO_BLAS_LIB, test x$blas_lib = xgoto)
|
|
AM_CONDITIONAL(STARPU_GOTO_BLAS_LIB, test x$blas_lib = xgoto)
|