/* selector for collective algorithms based on openmpi's default coll_tuned_decision_fixed selector */
-/* Copyright (c) 2009-2020. The SimGrid Team.
+/* Copyright (c) 2009-2022. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
as Shumilin's ring algorithm is unknown, default to ring'
*/
-namespace simgrid{
-namespace smpi{
+namespace simgrid::smpi {
int (*intel_allreduce_functions_table[])(const void *sendbuf,
void *recvbuf,
*/
static int intel_barrier_gather_scatter(MPI_Comm comm){
- //our default barrier performs a antibcast/bcast
- barrier__default(comm);
- return MPI_SUCCESS;
+ // our default barrier performs an antibcast/bcast
+ barrier__default(comm);
+ return MPI_SUCCESS;
}
int (*intel_barrier_functions_table[])(MPI_Comm comm) ={
COLL_APPLY(IMPI_COLL_SELECT, COLL_SCATTER_SIG ,(sendbuf, sendcount, sendtype,recvbuf, recvcount, recvtype,root, comm))
COLL_APPLY(IMPI_COLL_SELECT, COLL_BARRIER_SIG,(comm))
-}
-}
+} // namespace simgrid::smpi