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.

Declared at: include/instruction_graph.h:328

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)

Declared at: include/instruction_graph.h:330

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

Declared at: include/instruction_graph.h:335


size_t get_node_chunk_size() const

Declared at: include/instruction_graph.h:336


transfer_id get_transfer_id() const

Declared at: include/instruction_graph.h:334