LCI v2.0.0-dev
For Asynchronous Multithreaded Communication
Loading...
Searching...
No Matches

A reduce scatter operation. More...

Collaboration diagram for reduce_scatter:

Classes

class  lci::reduce_scatter_x
 The actual implementation for reduce_scatter. More...
 

Detailed Description

A reduce scatter operation.

This operation assumes the send count is equal to recvcount * item_size and sendbuf is of size at least recvcount * item_size * get_rank_n().

Parameters
[in]runtimeof type runtime_t; optional argument; The runtime object.
[in]sendbufof type const void*; positional argument; The local buffer base address to send.
[in]recvbufof type void*; positional argument; The local buffer base address to recv.
[in]recvcountof type size_t; positional argument; The number of data items to receive one each rank.
[in]item_sizeof type size_t; positional argument; The size of each data item.
[in]opof type reduce_op_t; positional argument; The reduction operation.
[in]deviceof type device_t; optional argument; The device to use.
[in]endpointof type endpoint_t; optional argument; The endpoint to use.
[in]matching_engineof type matching_engine_t; optional argument; The matching engine to use.
[in]compof type comp_t; optional argument; The completion to signal when the operation completes.
[in]algorithmof type reduce_scatter_algorithm_t; optional argument; The collective algorithm to use.
[in]ring_nstepsof type int; optional argument; The number of steps in the ring algorithm.