20#ifndef UCP_BOOTSTRAP_H
21#define UCP_BOOTSTRAP_H
23#define BOOTSTRAP_ERROR_INTERNAL -1
41 int (*
gather)(
const void *sendbuf,
void *recvbuf,
int bytes,
int root,
43 int (*
allgather)(
const void *sendbuf,
void *recvbuf,
int bytes,
45 int (*
alltoall)(
const void *sendbuf,
void *recvbuf,
int bytes,
49 int (*
allgatherv)(
const void *sendbuf,
void *recvbuf,
int *sizes,
int *offsets,
bootstrap_handle_t * handle
Definition bootstrap.h:61
__attribute__((visibility("default"))) int realm_ucp_bootstrap_plugin_init(void *arg
reduction_op
Definition bootstrap.h:26
@ REDUCTION_MAX
Definition bootstrap.h:29
@ REDUCTION_LAST
Definition bootstrap.h:28
@ REDUCTION_SUM
Definition bootstrap.h:27
struct bootstrap_handle bootstrap_handle_t
Definition bootstrap.h:32
int * shared_ranks
Definition bootstrap.h:35
int(* finalize)(struct bootstrap_handle *handle)
Definition bootstrap.h:51
int(* alltoall)(const void *sendbuf, void *recvbuf, int bytes, struct bootstrap_handle *handle)
Definition bootstrap.h:45
int(* allgather)(const void *sendbuf, void *recvbuf, int bytes, struct bootstrap_handle *handle)
Definition bootstrap.h:43
int(* barrier)(struct bootstrap_handle *handle)
Definition bootstrap.h:39
int pg_size
Definition bootstrap.h:34
int pg_rank
Definition bootstrap.h:33
int(* bcast)(void *buf, int bytes, int root, struct bootstrap_handle *handle)
Definition bootstrap.h:40
int(* allgatherv)(const void *sendbuf, void *recvbuf, int *sizes, int *offsets, struct bootstrap_handle *handle)
Definition bootstrap.h:49
int(* allreduce_ull)(const void *sendbuf, void *recvbuf, int count, enum reduction_op op, struct bootstrap_handle *handle)
Definition bootstrap.h:47
int num_shared_ranks
Definition bootstrap.h:36
int(* gather)(const void *sendbuf, void *recvbuf, int bytes, int root, struct bootstrap_handle *handle)
Definition bootstrap.h:41