1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-06-01 02:45:43 +02:00

Revert cuBLAS to old config

This commit is contained in:
Aurelien Delval 2022-04-08 11:37:37 +02:00
parent ad531dddf9
commit 69009900f7

View File

@ -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*)