Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 212339b4 authored by Guillaume Sylvand's avatar Guillaume Sylvand
Browse files

MPI tag upper bound: MPI_TAG_UB is included (so on most platform the default...

MPI tag upper bound: MPI_TAG_UB is included (so on most platform the default values tag_width=31, tag_sep=24 are ok)
parent c4c70f6c
No related branches found
No related tags found
No related merge requests found
...@@ -123,7 +123,7 @@ void RUNTIME_desc_create( MORSE_desc_t *desc ) ...@@ -123,7 +123,7 @@ void RUNTIME_desc_create( MORSE_desc_t *desc )
morse_error("RUNTIME_desc_create", "MPI_TAG_UB not known by MPI"); morse_error("RUNTIME_desc_create", "MPI_TAG_UB not known by MPI");
} }
while ( ((uintptr_t)(1UL<<tag_width) >= (uint)(*tag_ub) ) while ( ((uintptr_t)(1UL<<tag_width) > (uint)(*tag_ub) )
&& (tag_width >= TAG_WIDTH_MIN) ) { && (tag_width >= TAG_WIDTH_MIN) ) {
tag_width--; tag_width--;
tag_sep--; tag_sep--;
......
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