CHECK_COMM2(1, comm)
if( color != MPI_UNDEFINED)//we use a negative value for MPI_UNDEFINED
CHECK_NEGATIVE(3, MPI_ERR_ARG, color)
- smpi_bench_end();
+ const SmpiBenchGuard suspend_bench;
*comm_out = comm->split(color, key);
- smpi_bench_begin();
return MPI_SUCCESS;
}
{
CHECK_COMM(1)
CHECK_NULL(5, MPI_ERR_ARG, newcomm)
- smpi_bench_end();
+ const SmpiBenchGuard suspend_bench;
*newcomm = comm->split_type(split_type, key, info);
- smpi_bench_begin();
return MPI_SUCCESS;
}
CHECK_COMM(1)
CHECK_GROUP(2, group)
CHECK_NULL(5, MPI_ERR_ARG, comm_out)
- smpi_bench_end();
+ const SmpiBenchGuard suspend_bench;
int retval = MPI_Comm_create(comm, group, comm_out);
- smpi_bench_begin();
return retval;
}