Skip to main content

class send_instruction

Declaration

class send_instruction : public implement_acceptor { /* full declaration omitted */ };

Description

(MPI_) sends a subrange of an allocation to a single remote node. The send must have be announced by transmitting a pilot_message first.

Inherits from: implement_acceptor

Member Variables

node_id m_to_nid
message_id m_message_id
allocation_id m_source_aid
range<3> m_source_range
id<3> m_offset_in_source
range<3> m_send_range
size_t m_elem_size

Member Function Overview

Member Functions

node_id get_dest_node_id() const


size_t get_element_size() const


message_id get_message_id() const


const id<3>& get_offset_in_source_allocation()
    const


const range<3>& get_send_range() const


allocation_id get_source_allocation_id() const


const range<3>& get_source_allocation_range()
    const


explicit send_instruction(
    instruction_id iid,
    int priority,
    node_id to_nid,
    message_id msgid,
    allocation_id source_aid,
    const range<3>& source_alloc_range,
    const id<3>& offset_in_alloc,
    const range<3>& send_range,
    size_t elem_size)

Parameters

instruction_id iid
int priority
node_id to_nid
message_id msgid
allocation_id source_aid
const range<3>& source_alloc_range
const id<3>& offset_in_alloc
const range<3>& send_range
size_t elem_size