Mentions légales du service

Skip to content
Snippets Groups Projects

Fix getting starpu_mpi maximum tag

Merged THIBAULT Samuel requested to merge thibault/chameleon:ub into master
1 file
+ 3
3
Compare changes
  • Side-by-side
  • Inline
@@ -46,9 +46,9 @@ chameleon_starpu_tag_init( int user_tag_width,
tag_sep = user_tag_sep;
#if defined(HAVE_STARPU_MPI_COMM_GET_ATTR)
int64_t tag_ub_64;
starpu_mpi_comm_get_attr(MPI_COMM_WORLD, STARPU_MPI_TAG_UB, &tag_ub_64, &ok);
tag_ub = tag_ub_64;
int64_t *tag_ub_p = NULL;
starpu_mpi_comm_get_attr(MPI_COMM_WORLD, STARPU_MPI_TAG_UB, &tag_ub_p, &ok);
tag_ub = *tag_ub_p;
#else
int *tag_ub_p = NULL;
MPI_Comm_get_attr(MPI_COMM_WORLD, MPI_TAG_UB, &tag_ub_p, &ok);
Loading