Skip to main content

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

Member Functions

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


size_t get_node_chunk_size() const


transfer_id get_transfer_id() const