From e82c18c7602c00b60bb9c2999232822d60da63e1 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Mon, 27 Mar 2023 23:08:12 +0200 Subject: [PATCH] api: Remove CHAMELEON_user_tag_size() function from API --- control/descriptor.c | 23 ----------------------- doc/user/chapters/using.org | 8 -------- include/chameleon.h | 8 +++++++- testing/test_fembem | 2 +- 4 files changed, 8 insertions(+), 33 deletions(-) diff --git a/control/descriptor.c b/control/descriptor.c index 7aed89815..8c054d98d 100644 --- a/control/descriptor.c +++ b/control/descriptor.c @@ -943,29 +943,6 @@ int CHAMELEON_Desc_Flush( const CHAM_desc_t *desc, return CHAMELEON_SUCCESS; } -/** - ***************************************************************************** - * - * @ingroup Descriptor - * - * CHAMELEON_user_tag_size - Set the sizes for the MPI tags - * Default value: tag_width=31, tag_sep=24, meaning that the MPI tag is stored - * in 31 bits, with 24 bits for the tile tag and 7 for the descriptor. This - * function must be called before any descriptor creation. - * - ****************************************************************************** - * - * @param[in] user_tag_width - * The new value for tag_width. - * - * @param[in] user_tag_sep - * The new value for tag_sep. - * - */ -void CHAMELEON_user_tag_size(int user_tag_width, int user_tag_sep) { - return; -} - static void chameleon_desc_print( const CHAM_desc_t *desc, int shift ) { diff --git a/doc/user/chapters/using.org b/doc/user/chapters/using.org index 0e7292769..18c2f1e74 100644 --- a/doc/user/chapters/using.org +++ b/doc/user/chapters/using.org @@ -1050,14 +1050,6 @@ int CHAMELEON_Desc_Flush(CHAM_desc_t *desc, RUNTIME_sequence_t *sequence); #+end_src - Set the sizes for the MPI tags. Default value: tag_width=31, - tag_sep=24, meaning that the MPI tag is stored in 31 bits, with - 24 bits for the tile tag and 7 for the descriptor. This function - must be called before any descriptor creation. - #+begin_src - void CHAMELEON_user_tag_size(int user_tag_width, int user_tag_sep); - #+end_src - **** Sequences routines Create a sequence. diff --git a/include/chameleon.h b/include/chameleon.h index c0a9ea9a9..8c3669af3 100644 --- a/include/chameleon.h +++ b/include/chameleon.h @@ -161,7 +161,13 @@ int CHAMELEON_Disable (int option); int CHAMELEON_Set (int param, int value); int CHAMELEON_Get (int param, int *value); int CHAMELEON_Set_update_progress_callback(void (*p)(int, int)) ; -void CHAMELEON_user_tag_size(int, int); + +static inline void CHAMELEON_user_tag_size(int, int) __attribute__((deprecated("This function is no longer needed")));; +static inline void CHAMELEON_user_tag_size(int user_tag_width, int user_tag_sep) { + (void)user_tag_width; + (void)user_tag_sep; + return; +} /* Sequences */ int CHAMELEON_Sequence_Create (RUNTIME_sequence_t **sequence); diff --git a/testing/test_fembem b/testing/test_fembem index 1e9813068..906d73c7a 160000 --- a/testing/test_fembem +++ b/testing/test_fembem @@ -1 +1 @@ -Subproject commit 1e9813068d15dbc570d16da086151e66dc670975 +Subproject commit 906d73c7abb0821e8df787f05fab2d503a2e76ff -- GitLab