Mentions légales du service

Skip to content
Snippets Groups Projects
Commit e82c18c7 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

api: Remove CHAMELEON_user_tag_size() function from API

parent 770c9c6d
No related branches found
No related tags found
1 merge request!373StarPU: Change the Tag management system
...@@ -943,29 +943,6 @@ int CHAMELEON_Desc_Flush( const CHAM_desc_t *desc, ...@@ -943,29 +943,6 @@ int CHAMELEON_Desc_Flush( const CHAM_desc_t *desc,
return CHAMELEON_SUCCESS; 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 static void
chameleon_desc_print( const CHAM_desc_t *desc, int shift ) chameleon_desc_print( const CHAM_desc_t *desc, int shift )
{ {
......
...@@ -1050,14 +1050,6 @@ ...@@ -1050,14 +1050,6 @@
int CHAMELEON_Desc_Flush(CHAM_desc_t *desc, RUNTIME_sequence_t *sequence); int CHAMELEON_Desc_Flush(CHAM_desc_t *desc, RUNTIME_sequence_t *sequence);
#+end_src #+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 **** Sequences routines
Create a sequence. Create a sequence.
......
...@@ -161,7 +161,13 @@ int CHAMELEON_Disable (int option); ...@@ -161,7 +161,13 @@ int CHAMELEON_Disable (int option);
int CHAMELEON_Set (int param, int value); int CHAMELEON_Set (int param, int value);
int CHAMELEON_Get (int param, int *value); int CHAMELEON_Get (int param, int *value);
int CHAMELEON_Set_update_progress_callback(void (*p)(int, int)) ; 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 */ /* Sequences */
int CHAMELEON_Sequence_Create (RUNTIME_sequence_t **sequence); int CHAMELEON_Sequence_Create (RUNTIME_sequence_t **sequence);
......
Subproject commit 1e9813068d15dbc570d16da086151e66dc670975 Subproject commit 906d73c7abb0821e8df787f05fab2d503a2e76ff
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment