14 #ifndef PHOTON_COLLECTIVES_H 15 #define PHOTON_COLLECTIVES_H 28 static const char*
const PHOTON_COLL_IFACE_TO_STRING[] = {
32 "INVALID_COLLECTIVE_INTERACE" 60 #define PHOTON_DT_NULL ((photonDatatype) (photon_datatype_null)) 61 #define PHOTON_DT_BYTE ((photonDatatype) (photon_byte)) 62 #define PHOTON_DT_PACKED ((photonDatatype) (photon_packed)) 63 #define PHOTON_DT_CHAR ((photonDatatype) (photon_char)) 64 #define PHOTON_DT_SHORT ((photonDatatype) (photon_short)) 65 #define PHOTON_DT_INT ((photonDatatype) (photon_int)) 66 #define PHOTON_DT_LONG ((photonDatatype) (photon_long)) 67 #define PHOTON_DT_FLOAT ((photonDatatype) (photon_float)) 68 #define PHOTON_DT_DOUBLE ((photonDatatype) (photon_double)) 69 #define PHOTON_DT_LONG_DOUBLE ((photonDatatype) (photon_long_double)) 70 #define PHOTON_DT_UNSIGNED_CHAR ((photonDatatype) (photon_unsigned_char)) 71 #define PHOTON_DT_SIGNED_CHAR ((photonDatatype) (photon_signed_char)) 72 #define PHOTON_DT_UNSIGNED_SHORT ((photonDatatype) (photon_unsigned_short)) 73 #define PHOTON_DT_UNSIGNED_LONG ((photonDatatype) (photon_unsigned_long)) 74 #define PHOTON_DT_UNSIGNED ((photonDatatype) (photon_unsigned)) 75 #define PHOTON_DT_LONG_LONG_INT ((photonDatatype) (photon_long_long_int)) 76 #define PHOTON_DT_LONG_LONG ((photonDatatype) (photon_long_long)) 77 #define PHOTON_DT_UNSIGNED_LONG_LONG ((photonDatatype) (photon_unsigned_long_long)) 100 #define PHOTON_OP_NULL ((photonOp) (photon_op_null)) 101 #define PHOTON_OP_MAX ((photonOp) (photon_op_max)) 102 #define PHOTON_OP_MIN ((photonOp) (photon_op_min)) 103 #define PHOTON_OP_SUM ((photonOp) (photon_op_sum)) 104 #define PHOTON_OP_PROD ((photonOp) (photon_op_prod)) 105 #define PHOTON_OP_LAND ((photonOp) (photon_op_land)) 106 #define PHOTON_OP_BAND ((photonOp) (photon_op_band)) 107 #define PHOTON_OP_LOR ((photonOp) (photon_op_lor)) 108 #define PHOTON_OP_BOR ((photonOp) (photon_op_bor)) 109 #define PHOTON_OP_LXOR ((photonOp) (photon_op_lxor)) 110 #define PHOTON_OP_BXOR ((photonOp) (photon_op_bxor)) 111 #define PHOTON_OP_MAXLOC ((photonOp) (photon_op_maxloc)) 112 #define PHOTON_OP_MINLOC ((photonOp) (photon_op_minloc)) 113 #define PHOTON_OP_REPLACE ((photonOp) (photon_op_replace)) 114 #define PHOTON_OP_NO_OP ((photonOp) (photon_op_no_op)) 145 #define PHOTON_COLL_MSG_RING_AT_BR 65 146 #define PHOTON_COLL_MSG_RING_RELEASE_BR 67 147 #define PHOTON_COLL_MSG_TREE_CHILD_AT_BR 68 148 #define PHOTON_COLL_MSG_REC_DOUBLING_TAG 1 200 photonDatatype stype, photonDatatype rtype,
int root, photonOp op);
photon_datatype_t photonDatatype
photon_datatype_t photon_byte
The Photon completion ID used by the PWC API.
photon_datatype_t photon_signed_char
photon_op_t photon_op_prod
photon_datatype_t photon_packed
photon_datatype_t photon_unsigned_char
photon_op_t photon_op_land
photon_datatype_t photon_char
photon_datatype_t photon_long_long_int
uint64_t photon_rid
The Photon request ID.
photonComm PHOTON_COMM_WORLD
photon_datatype_t photon_long
photon_op_t photon_op_band
photon_datatype_t photon_float
photon_op_t photon_op_no_op
photon_op_t photon_op_sum
photon_datatype_t photon_datatype_null
photon_datatype_t photon_int
photon_datatype_t photon_unsigned_long
photon_op_t photon_op_lor
photon_op_t photon_op_null
photon_op_t photon_op_maxloc
photon_datatype_t photon_unsigned_short
int photon_collective_comm_create(void *active, int num_active, int total, photonComm *c)
In-progress communicator handling.
photon_op_t photon_op_replace
photon_datatype_t photon_wchar
photon_datatype_t photon_short
int photon_collective_init_new_comm(void *active, int num_active, int total, photon_coll ctype, photon_cid local, photon_rid *request, int flags, photonComm *c)
In-progress communicator handling.
photon_datatype_t photon_unsigned_long_long
photon_datatype_t photon_unsigned
photon_op_t photon_op_min
photon_op_t photon_op_max
int photon_collective_join(photon_rid request, void *in, void *out, int scount, int rcount, photonDatatype stype, photonDatatype rtype, int root, photonOp op)
photon_datatype_t photon_double
photon_op_t photon_op_lxor
photon_datatype_t photon_long_double
photon_op_t photon_op_bor
int photon_collective_init(photonComm comm, photon_coll ctype, photon_cid local, photon_rid *request, int flags)
photon_op_t photon_op_minloc
photon_op_t photon_op_bxor