SimGrid  3.14.159
Versatile Simulation of Distributed Systems
smpi_automatic_selector.cpp File Reference
#include <float.h>
#include <exception>
#include "colls_private.h"

Macros

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

Functions

 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLGATHERV_SIG,(send_buff, send_count, send_type, recv_buff, recv_count, recv_disps, recv_type, comm))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLREDUCE_SIG,(sbuf, rbuf, rcount, dtype, op, comm))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_GATHER_SIG,(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, root, comm))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLGATHER_SIG,(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, comm))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_ALLTOALL_SIG,(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, comm))
 
 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))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_BCAST_SIG,(buf, count, datatype, root, comm))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_REDUCE_SIG,(buf, rbuf, count, datatype, op, root, comm))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_REDUCE_SCATTER_SIG,(sbuf, rbuf, rcounts, dtype, op, comm))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_SCATTER_SIG,(sendbuf, sendcount, sendtype, recvbuf, recvcount, recvtype, root, comm))
 
 COLL_APPLY (AUTOMATIC_COLL_BENCH, COLL_BARRIER_SIG,(comm))
 

Macro Definition Documentation

◆ TRACE_AUTO_COLL

#define TRACE_AUTO_COLL (   cat)
Value:
if (!type){\
}\
char cont_name[25];\
snprintf(cont_name,25, "rank-%d", smpi_process_index());\
val_t value = PJ_value_get_or_new(mpi_coll_##cat##_description[i].name,"1.0 1.0 1.0", type);\
new_pajeNewEvent (SIMIX_get_clock(), PJ_container_get(cont_name), type, value);\
}
void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Op MPI_Win win void int MPI_Datatype void int MPI_Datatype MPI_Comm comm MPI_Aint MPI_Info void baseptr void int MPI_Datatype void int MPI_Datatype MPI_Comm comm MPI_Comm int keyval MPI_Comm int void attr_value void int MPI_Datatype int MPI_Comm comm MPI_Comm int int int int MPI_Comm comm_cart MPI_Comm int int int int coords MPI_Comm int int int int dest MPI_Comm MPI_Comm int result MPI_Comm MPI_Group MPI_Comm newcomm MPI_Comm comm int keyval MPI_Comm int void int flag MPI_Comm MPI_Group group MPI_Comm int void attribute_val MPI_Comm int int MPI_Comm comm_out 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 * name
Definition: smpi_mpi.cpp:83
int smpi_process_index()
Definition: smpi_global.cpp:267
void int MPI_Datatype int MPI_Aint int MPI_Datatype MPI_Op MPI_Win win void int MPI_Datatype void int MPI_Datatype MPI_Comm comm MPI_Aint MPI_Info void baseptr void int MPI_Datatype void int MPI_Datatype MPI_Comm comm MPI_Comm int keyval MPI_Comm int void attr_value void int MPI_Datatype int MPI_Comm comm MPI_Comm int int int int MPI_Comm comm_cart MPI_Comm int int int int coords MPI_Comm int int int int dest MPI_Comm MPI_Comm int result MPI_Comm MPI_Group MPI_Comm newcomm MPI_Comm comm int keyval MPI_Comm int void int flag MPI_Comm MPI_Group group MPI_Comm int void attribute_val MPI_Comm int int MPI_Comm comm_out 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 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 int MPI_Datatype MPI_Comm int size int int MPI_Comm MPI_Status status int provided 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 void int MPI_Datatype MPI_Op MPI_Comm comm void int int MPI_Datatype void int MPI_Datatype int MPI_Comm comm void int MPI_Datatype int int int int MPI_Comm MPI_Status status void int MPI_Datatype int int MPI_Comm comm void int MPI_Datatype int int MPI_Comm comm MPI_Request request int MPI_Request int int MPI_Status status int MPI_Request int int MPI_Status statuses int MPI_Datatype MPI_Datatype newtype int int MPI_Aint MPI_Datatype MPI_Datatype new_type int int int MPI_Datatype MPI_Datatype newtype MPI_Type_copy_attr_function MPI_Type_delete_attr_function int void extra_state int int MPI_Aint MPI_Datatype MPI_Datatype newtype MPI_Datatype MPI_Datatype newdatatype int keyval MPI_Datatype type
Definition: smpi_mpi.cpp:161
type_t PJ_type_get_or_null(const char *name, type_t father)
Definition: instr_paje_types.cpp:96
double SIMIX_get_clock()
A clock (in second).
Definition: smx_global.cpp:334
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:206
container_t PJ_container_get(const char *name)
Definition: instr_paje_containers.cpp:165
type_t PJ_type_event_new(const char *name, type_t father)
Definition: instr_paje_types.cpp:138
type_t PJ_type_get_root()
Definition: instr_paje_types.cpp:22

◆ AUTOMATIC_COLL_BENCH

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

Function Documentation

◆ COLL_APPLY() [1/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_ALLGATHERV_SIG  ,
(send_buff, send_count, send_type, recv_buff, recv_count, recv_disps, recv_type, comm  
)

◆ COLL_APPLY() [2/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_ALLREDUCE_SIG  ,
(sbuf, rbuf, rcount, dtype, op, comm  
)

◆ COLL_APPLY() [3/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_GATHER_SIG  ,
(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, root, comm  
)

◆ COLL_APPLY() [4/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_ALLGATHER_SIG  ,
(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, comm  
)

◆ COLL_APPLY() [5/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_ALLTOALL_SIG  ,
(send_buff, send_count, send_type, recv_buff, recv_count, recv_type, comm  
)

◆ COLL_APPLY() [6/11]

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  
)

◆ COLL_APPLY() [7/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_BCAST_SIG  ,
(buf, count, datatype, root, comm  
)

◆ COLL_APPLY() [8/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_REDUCE_SIG  ,
(buf, rbuf, count, datatype, op, root, comm  
)

◆ COLL_APPLY() [9/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_REDUCE_SCATTER_SIG  ,
(sbuf, rbuf, rcounts, dtype, op, comm  
)

◆ COLL_APPLY() [10/11]

◆ COLL_APPLY() [11/11]

COLL_APPLY ( AUTOMATIC_COLL_BENCH  ,
COLL_BARRIER_SIG  ,
(comm  
)