From 69009900f7d19c18a5f740550f2e3dda4a0027e5 Mon Sep 17 00:00:00 2001 From: Aurelien Delval Date: Fri, 8 Apr 2022 11:37:37 +0200 Subject: [PATCH] Revert cuBLAS to old config --- configure.ac | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 17350c7..e2d1c22 100644 --- a/configure.ac +++ b/configure.ac @@ -304,10 +304,10 @@ AS_IF([test "$enable_gpu" = "openacc"], [ ]) # cuBLAS offloading -HAVE_OPENACC_OFFLOAD="no" -AS_IF([test "$enable_gpu" = "cublas"], [ +AC_ARG_WITH(cublas, [AS_HELP_STRING([--with-cublas],[Use cuBLAS-offloaded functions])], HAVE_CUBLAS_OFFLOAD=$withval, HAVE_CUBLAS_OFFLOAD=no) +AS_IF([test "$HAVE_CUBLAS_OFFLOAD" = "yes"], [ AC_DEFINE([HAVE_CUBLAS_OFFLOAD], [1], [If defined, activate cuBLAS-offloaded routines]) - HAVE_CUBLAS_OFFLOAD="yes" + HAVE_OPENACC_OFFLOAD="yes" case $CC in *gcc*)