Mentions légales du service

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

runtime: remove RUNTIME_set_tag_sizes function

parent b15e2edf
No related branches found
No related tags found
1 merge request!373StarPU: Change the Tag management system
...@@ -963,7 +963,6 @@ int CHAMELEON_Desc_Flush( const CHAM_desc_t *desc, ...@@ -963,7 +963,6 @@ int CHAMELEON_Desc_Flush( const CHAM_desc_t *desc,
* *
*/ */
void CHAMELEON_user_tag_size(int user_tag_width, int user_tag_sep) { void CHAMELEON_user_tag_size(int user_tag_width, int user_tag_sep) {
RUNTIME_comm_set_tag_sizes( user_tag_width, user_tag_sep );
return; return;
} }
......
...@@ -214,22 +214,6 @@ RUNTIME_comm_rank( CHAM_context_t *ctxt ); ...@@ -214,22 +214,6 @@ RUNTIME_comm_rank( CHAM_context_t *ctxt );
int int
RUNTIME_comm_size( CHAM_context_t *ctxt ); RUNTIME_comm_size( CHAM_context_t *ctxt );
/**
* @brief Set the data tags bounds based on runtime tags limit.
*
* @param[in] user_tag_width
* Total number of bits used to defined the data tags (31 by default).
* Must be larger than 20.
*
* @param[in] user_tag_sep
* The number of bits dedicated to identify the pieces of data per
* descriptor. (user_tag_width - user_tag_sep) defines the number of
* bits used to enumerate the descriptors.
*/
void
RUNTIME_comm_set_tag_sizes( int user_tag_width,
int user_tag_sep );
/** /**
* @} * @}
* *
......
...@@ -21,13 +21,6 @@ ...@@ -21,13 +21,6 @@
*/ */
#include "chameleon_openmp.h" #include "chameleon_openmp.h"
void RUNTIME_comm_set_tag_sizes( int user_tag_width,
int user_tag_sep )
{
(void)user_tag_width;
(void)user_tag_sep;
}
void *RUNTIME_malloc( size_t size ) void *RUNTIME_malloc( size_t size )
{ {
return malloc( size ); return malloc( size );
......
...@@ -41,13 +41,6 @@ static chameleon_parsec_arena_t chameleon_parsec_registered_arenas[CHAMELEON_PAR ...@@ -41,13 +41,6 @@ static chameleon_parsec_arena_t chameleon_parsec_registered_arenas[CHAMELEON_PAR
#endif #endif
void RUNTIME_comm_set_tag_sizes( int user_tag_width,
int user_tag_sep )
{
(void)user_tag_width;
(void)user_tag_sep;
}
void *RUNTIME_malloc( size_t size ) void *RUNTIME_malloc( size_t size )
{ {
return malloc(size); return malloc(size);
......
...@@ -22,13 +22,6 @@ ...@@ -22,13 +22,6 @@
*/ */
#include "chameleon_quark.h" #include "chameleon_quark.h"
void RUNTIME_comm_set_tag_sizes( int user_tag_width,
int user_tag_sep )
{
(void)user_tag_width;
(void)user_tag_sep;
}
void *RUNTIME_malloc( size_t size ) void *RUNTIME_malloc( size_t size )
{ {
return malloc( size ); return malloc( size );
......
...@@ -40,20 +40,6 @@ ...@@ -40,20 +40,6 @@
#endif #endif
void RUNTIME_comm_set_tag_sizes( int user_tag_width,
int user_tag_sep )
{
#if defined(CHAMELEON_USE_MPI)
int rc;
rc = chameleon_starpu_tag_init( user_tag_width, user_tag_sep );
if ( rc != CHAMELEON_SUCCESS ) {
chameleon_error("RUNTIME_user_tag_size",
"must be called before creating any Cham descriptor with CHAMELEON_Desc_create(). The tag sizes will not be modified.");
}
#endif
(void)user_tag_width; (void)user_tag_sep;
}
/** /**
* Malloc/Free of the data * Malloc/Free of the data
*/ */
......
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