SimGrid  3.16
Versatile Simulation of Distributed Systems
smpi_automatic_selector.cpp File Reference
#include <float.h>
#include <exception>
#include "colls_private.h"
#include "src/smpi/smpi_process.hpp"

Namespaces

 simgrid
 Alltoall Bruck.
 
 simgrid::smpi
 

Macros

#define TRACE_AUTO_COLL(cat)
 
#define AUTOMATIC_COLL_BENCH(cat, ret, args, args2)
 

Functions

 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLGATHERV_SIG,(send_buff, send_count, send_type, recv_buff, recv_count, recv_disps, recv_type, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLREDUCE_SIG,(sbuf, rbuf, rcount, dtype, op, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_GATHER_SIG,(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, root, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLGATHER_SIG,(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLTOALL_SIG,(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLTOALLV_SIG,(send_buff, send_counts, send_disps, send_type, recv_buff, recv_counts, recv_disps, recv_type, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_BCAST_SIG,(buf, count, datatype, root, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_REDUCE_SIG,(buf, rbuf, count, datatype, op, root, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_REDUCE_SCATTER_SIG,(sbuf, rbuf, rcounts, dtype, op, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_SCATTER_SIG,(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, root, comm))
 
 simgrid::smpi::COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_BARRIER_SIG,(comm))
 

Macro Definition Documentation

◆ TRACE_AUTO_COLL

#define TRACE_AUTO_COLL (   cat)
Value:
if (TRACE_is_enabled()) { \
if (not type) { \
} \
char cont_name[25]; \
snprintf(cont_name, 25, "rank-%d", smpi_process()->index()); \
val_t value = PJ_value_get_or_new(Colls::mpi_coll_##cat##_description[i].name, "1.0 1.0 1.0", type); \
new NewEvent(SIMIX_get_clock(), PJ_container_get(cont_name), type, value); \
}
static const char * name
Definition: msg.h:186
type_t PJ_type_get_or_null(const char *name, type_t father)
Definition: instr_paje_types.cpp:96
int int errorclass int flag void baseptr void int MPI_Datatype void int int MPI_Datatype int MPI_Comm comm MPI_Status MPI_Datatype int count char int resultlen void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win win void void MPI_Datatype int MPI_Aint MPI_Op MPI_Win win MPI_Group MPI_Group MPI_Group newgroup MPI_Group group MPI_Group MPI_Group MPI_Group newgroup MPI_Group int int MPI_Group newgroup MPI_Group int size MPI_Group MPI_Group MPI_Group newgroup MPI_Info char key MPI_Info info MPI_Info int nkeys MPI_Info char int int flag int flag int char int int provided void int MPI_Datatype int int MPI_Comm MPI_Request request void int MPI_Datatype int int MPI_Comm MPI_Request request MPI_Copy_function MPI_Delete_function int void extra_state MPI_User_function int MPI_Op op MPI_Op int commute void int MPI_Datatype type
Definition: smpi_mpi.cpp:127
double SIMIX_get_clock()
A clock (in second).
Definition: smx_global.cpp:328
val_t PJ_value_get_or_new(const char *name, const char *color, type_t father)
Definition: instr_paje_values.cpp:34
bool TRACE_is_enabled()
Definition: instr_config.cpp:186
container_t PJ_container_get(const char *name)
Definition: instr_paje_containers.cpp:159
static const char char * value
Definition: msg.h:190
int int errorclass int flag void baseptr void int MPI_Datatype void int int MPI_Datatype int MPI_Comm comm MPI_Status MPI_Datatype int count char int resultlen void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win win void void MPI_Datatype int MPI_Aint MPI_Op MPI_Win win MPI_Group MPI_Group MPI_Group newgroup MPI_Group group MPI_Group MPI_Group MPI_Group newgroup MPI_Group int int MPI_Group newgroup MPI_Group int size MPI_Group MPI_Group MPI_Group newgroup MPI_Info char key MPI_Info info MPI_Info int nkeys MPI_Info char int int flag int flag int char int int provided void int MPI_Datatype int int MPI_Comm MPI_Request request void int MPI_Datatype int int MPI_Comm MPI_Request request MPI_Copy_function MPI_Delete_function int void extra_state MPI_User_function int MPI_Op op MPI_Op int commute void int MPI_Datatype void int int MPI_Comm comm void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win win void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Op MPI_Win MPI_Request request void int MPI_Datatype int int MPI_Comm MPI_Status status void void int MPI_Datatype MPI_Op MPI_Comm comm void void int MPI_Datatype MPI_Op int MPI_Comm comm void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win MPI_Request request void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Win MPI_Request request void int MPI_Datatype void int MPI_Datatype int MPI_Comm comm void int MPI_Datatype int int MPI_Comm MPI_Request request void int MPI_Datatype int int void int MPI_Datatype int int MPI_Comm MPI_Status status void int MPI_Datatype int int MPI_Comm MPI_Request request int MPI_Request requests int MPI_Request int MPI_Status statuses MPI_Request int MPI_Status status MPI_Datatype datatype int int MPI_Aint MPI_Datatype MPI_Datatype newtype int int MPI_Aint MPI_Datatype MPI_Datatype new_type int int int MPI_Datatype MPI_Datatype newtype MPI_Datatype MPI_Aint MPI_Aint MPI_Datatype newtype MPI_Datatype int type_keyval MPI_Datatype MPI_Aint extent MPI_Datatype datatype MPI_Datatype MPI_Aint MPI_Aint extent MPI_Datatype MPI_Aint MPI_Aint extent int int MPI_Aint MPI_Datatype MPI_Datatype newtype MPI_Datatype MPI_Aint disp MPI_Datatype char name MPI_Datatype MPI_Count size MPI_Datatype MPI_Aint disp void int int void int MPI_Datatype MPI_Comm comm int MPI_Request int * index
Definition: smpi_mpi.cpp:189
type_t PJ_type_event_new(const char *name, type_t father)
Definition: instr_paje_types.cpp:138
Definition: instr_private.h:254
SMPI_Process * smpi_process()
Definition: smpi_global.cpp:77
type_t PJ_type_get_root()
Definition: instr_paje_types.cpp:22

◆ AUTOMATIC_COLL_BENCH

#define AUTOMATIC_COLL_BENCH (   cat,
  ret,
  args,
  args2 
)