|
@@ -417,7 +417,12 @@ int _starpu_data_set_rank(starpu_data_handle_t handle, int rank)
|
|
|
|
|
|
int starpu_data_set_rank(starpu_data_handle_t handle, int rank)
|
|
|
{
|
|
|
- _STARPU_DISP("Warning: You should call starpu_mpi_data_register which will insure MPI cache will be cleared when unregistering the data\n");
|
|
|
+ static int first=1;
|
|
|
+ if (first)
|
|
|
+ {
|
|
|
+ _STARPU_DISP("Warning: You should call starpu_mpi_data_register which will insure MPI cache will be cleared when unregistering the data\n");
|
|
|
+ first=0;
|
|
|
+ }
|
|
|
return _starpu_data_set_rank(handle, rank);
|
|
|
}
|
|
|
|
|
@@ -466,7 +471,12 @@ int _starpu_data_set_tag(starpu_data_handle_t handle, int tag)
|
|
|
|
|
|
int starpu_data_set_tag(starpu_data_handle_t handle, int tag)
|
|
|
{
|
|
|
- _STARPU_DISP("Warning: You should call starpu_mpi_data_register which will insure MPI cache will be cleared when unregistering the data\n");
|
|
|
+ static int first=1;
|
|
|
+ if (first)
|
|
|
+ {
|
|
|
+ _STARPU_DISP("Warning: You should call starpu_mpi_data_register which will insure MPI cache will be cleared when unregistering the data\n");
|
|
|
+ first=0;
|
|
|
+ }
|
|
|
return _starpu_data_set_tag(handle, tag);
|
|
|
}
|
|
|
|