class fill_identity_instruction
Declaration
class fill_identity_instruction : public implement_acceptor { /* full declaration omitted */ };
Description
Fills an allocation with the identity value of a reduction. Used as a predecessor to gather_receive_instruction to ensure that peer nodes that do not contribute a partial reduction result leave the identity value in their gather slot.
Inherits from: implement_acceptor
Member Variables
- reduction_id m_rid
- allocation_id m_aid
- size_t m_num_values
Member Function Overview
- fill_identity_instruction(instruction_id iid, int priority, reduction_id rid, allocation_id allocation_id, size_t num_values) → explicit
- get_allocation_id() const → allocation_id
- get_num_values() const → size_t
- get_reduction_id() const → reduction_id
Member Functions
¶explicit fill_identity_instruction(
instruction_id iid,
int priority,
reduction_id rid,
allocation_id allocation_id,
size_t num_values)
explicit fill_identity_instruction(
instruction_id iid,
int priority,
reduction_id rid,
allocation_id allocation_id,
size_t num_values)
Parameters
- instruction_id iid
- int priority
- reduction_id rid
- allocation_id allocation_id
- size_t num_values
¶allocation_id get_allocation_id() const
allocation_id get_allocation_id() const
¶size_t get_num_values() const
size_t get_num_values() const
¶reduction_id get_reduction_id() const
reduction_id get_reduction_id() const