-/* Copyright (c) 2013-2014. The SimGrid Team.
+/* Copyright (c) 2013-2017. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
}
return 0;
}
+namespace simgrid{
+namespace smpi{
int Coll_alltoall_2dmesh::alltoall(void *send_buff, int send_count,
MPI_Datatype send_type,
num_procs = comm->size();
extent = send_type->get_extent();
- if (!alltoall_check_is_2dmesh(num_procs, &X, &Y))
+ if (not alltoall_check_is_2dmesh(num_procs, &X, &Y))
return MPI_ERR_OTHER;
my_row_base = (rank / Y) * Y;
smpi_free_tmp_buffer(tmp_buff2);
return MPI_SUCCESS;
}
+}
+}