class gather_receive_instruction
Declaration
class gather_receive_instruction : public implement_acceptor { /* full declaration omitted */ };
Description
A special type of receive instruction used for global reductions: Instructs the receive arbiter to wait for incoming transfers of the same region from every peer node and place the chunks side-by-side in a contiguous allocation. The offset in the output allocation are equal to the sender node id.
Inherits from: implement_acceptor
Member Variables
- transfer_id m_trid
- allocation_id m_dest_aid
- size_t m_node_chunk_size
Member Function Overview
- gather_receive_instruction(instruction_id iid, int priority, const transfer_id & trid, allocation_id dest_aid, size_t node_chunk_size) → explicit
- get_dest_allocation_id() const → allocation_id
- get_node_chunk_size() const → size_t
- get_transfer_id() const → transfer_id
Member Functions
¶explicit gather_receive_instruction(
instruction_id iid,
int priority,
const transfer_id& trid,
allocation_id dest_aid,
size_t node_chunk_size)
explicit gather_receive_instruction(
instruction_id iid,
int priority,
const transfer_id& trid,
allocation_id dest_aid,
size_t node_chunk_size)
Parameters
- instruction_id iid
- int priority
- const transfer_id& trid
- allocation_id dest_aid
- size_t node_chunk_size
¶allocation_id get_dest_allocation_id() const
allocation_id get_dest_allocation_id() const
¶size_t get_node_chunk_size() const
size_t get_node_chunk_size() const
¶transfer_id get_transfer_id() const
transfer_id get_transfer_id() const