From b10ae63a184064328c86c60320c57fd241a2ea81 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Tue, 21 May 2019 13:43:31 +0200 Subject: [PATCH] Fix issue when compiling with C++ code and map functions --- include/chameleon.h | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/include/chameleon.h b/include/chameleon.h index dc0b77adf..dfd0c423a 100644 --- a/include/chameleon.h +++ b/include/chameleon.h @@ -51,6 +51,15 @@ */ #include "chameleon/tasks.h" +#include "chameleon/chameleon_z.h" +#include "chameleon/chameleon_c.h" +#include "chameleon/chameleon_d.h" +#include "chameleon/chameleon_s.h" +#include "chameleon/chameleon_zc.h" +#include "chameleon/chameleon_ds.h" + +BEGIN_C_DECLS + /* **************************************************************************** * CHAMELEON functionnalities */ @@ -65,17 +74,9 @@ int CHAMELEON_map_Tile_Async( cham_uplo_t uplo, RUNTIME_sequence_t *sequence, RUNTIME_request_t *request ); -#include "chameleon/chameleon_z.h" -#include "chameleon/chameleon_c.h" -#include "chameleon/chameleon_d.h" -#include "chameleon/chameleon_s.h" -#include "chameleon/chameleon_zc.h" -#include "chameleon/chameleon_ds.h" - /* **************************************************************************** * CHAMELEON Functions */ -BEGIN_C_DECLS /* Auxiliary */ int CHAMELEON_Version (int *ver_major, int *ver_minor, int *ver_micro); -- GitLab