1 #ifndef SERIAL_RUNTIME_H 2 #define SERIAL_RUNTIME_H 17 return "serial runtime";
30 global_sum(
long long *data,
int nelems,
int root);
39 gather(
void *send_buffer,
int num_bytes,
void *recv_buffer,
int root);
42 allgather(
void *send_buffer,
int num_bytes,
void *recv_buffer);
45 send(
int dst,
void *buffer,
int buffer_size);
48 recv(
int src,
void *buffer,
int buffer_size);
51 bcast(
void* buffer,
int bytes,
int root);
98 #endif // SERIAL_RUNTIME_H virtual void global_max(int *data, int nelems, int root)
virtual void do_send_recv_messages(std::vector< void * > &buffers)
virtual void allgather(void *send_buffer, int num_bytes, void *recv_buffer)
DeclareFactory(parallel_runtime)
virtual void bcast(void *buffer, int bytes, int root)
virtual int64_t allreduce_max(int64_t maxtime)
virtual bool release_merge_array(int tag)
std::map< int, int > merge_refcounts_
virtual void gather(void *send_buffer, int num_bytes, void *recv_buffer, int root)
void send_event(timestamp t, topology_id tid, event *ev)
virtual void declare_merge_array(void *buffer, int size, int tag)
A basic container for time (subject to future transplant).
SUMI = Simulator unified messagine interface It is also the name for a solid ink in Japanese - i...
virtual int64_t allreduce_min(int64_t mintime)
virtual void recv(int src, void *buffer, int buffer_size)
virtual void do_send_message(int lp, void *buffer, int size)
void send_recv_messages(std::vector< incoming_msg > &incoming)
virtual void send(int dst, void *buffer, int buffer_size)
virtual void wait_merge_array(int tag)
std::string to_string() const
virtual void global_sum(long *data, int nelems, int root)