From 0cfb7b86cfc5abcd71e03e7eb721d724a3a79c07 Mon Sep 17 00:00:00 2001
From: Mathieu Faverge <mathieu.faverge@inria.fr>
Date: Thu, 14 Mar 2024 18:26:12 +0100
Subject: [PATCH] Make the map interface deprecated

---
 include/chameleon.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/chameleon.h b/include/chameleon.h
index 563158007..2abadc0df 100644
--- a/include/chameleon.h
+++ b/include/chameleon.h
@@ -84,14 +84,14 @@ int CHAMELEON_map_Tile( cham_access_t         access,
                         cham_uplo_t           uplo,
                         CHAM_desc_t          *A,
                         cham_unary_operator_t op_fct,
-                        void                 *op_args );
+                        void                 *op_args ) __attribute__((deprecated("Please refer to CHAMELEON_map_Tile_Async for a more complete interface")));
 int CHAMELEON_map_Tile_Async( cham_access_t         access,
                               cham_uplo_t           uplo,
                               CHAM_desc_t          *A,
                               cham_unary_operator_t op_fct,
                               void                 *op_args,
                               RUNTIME_sequence_t   *sequence,
-                              RUNTIME_request_t    *request );
+                              RUNTIME_request_t    *request ) __attribute__((deprecated("Please refer to CHAMELEON_mapv_Tile_Async for a more complete interface")));
 
 int CHAMELEON_mapv_Tile( cham_uplo_t          uplo,
                          int                  ndata,
-- 
GitLab