From 98b3a53bee6768ce6342921eb63d940e25e61859 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Fri, 7 Jul 2023 10:47:28 +0200 Subject: [PATCH] include: Add the CHAMELEON_PREC_... variable to config.h to enable simpler detection of the arithmetics that are enabled or not. --- include/chameleon/config.h.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/include/chameleon/config.h.in b/include/chameleon/config.h.in index 34b3f3feb..3b5ceb7fa 100644 --- a/include/chameleon/config.h.in +++ b/include/chameleon/config.h.in @@ -57,6 +57,14 @@ #cmakedefine CHAMELEON_USE_CUBLAS #cmakedefine CHAMELEON_USE_HIP +/* Arithmetics support */ +#cmakedefine CHAMELEON_PREC_S +#cmakedefine CHAMELEON_PREC_D +#cmakedefine CHAMELEON_PREC_C +#cmakedefine CHAMELEON_PREC_Z +#cmakedefine CHAMELEON_PREC_DS +#cmakedefine CHAMELEON_PREC_ZC + /* Hmat-oss */ #cmakedefine CHAMELEON_USE_HMAT -- GitLab