class reduce_instruction
Declaration
class reduce_instruction : public implement_acceptor { /* full declaration omitted */ };
Description
Performs an out-of-memory reduction by reading from a gather allocation and writing to a single (buffer) allocation.
Inherits from: implement_acceptor
Member Variables
- reduction_id m_rid
- allocation_id m_source_aid
- size_t m_num_source_values
- allocation_id m_dest_aid
Member Function Overview
- get_dest_allocation_id() const → allocation_id
- get_num_source_values() const → size_t
- get_reduction_id() const → reduction_id
- get_source_allocation_id() const → allocation_id
- reduce_instruction(instruction_id iid, int priority, reduction_id rid, allocation_id source_allocation_id, size_t num_source_values, allocation_id dest_allocation_id) → explicit
Member Functions
¶allocation_id get_dest_allocation_id() const
allocation_id get_dest_allocation_id() const
¶size_t get_num_source_values() const
size_t get_num_source_values() const
¶reduction_id get_reduction_id() const
reduction_id get_reduction_id() const
¶allocation_id get_source_allocation_id() const
allocation_id get_source_allocation_id() const
¶explicit reduce_instruction(
instruction_id iid,
int priority,
reduction_id rid,
allocation_id source_allocation_id,
size_t num_source_values,
allocation_id dest_allocation_id)
explicit reduce_instruction(
instruction_id iid,
int priority,
reduction_id rid,
allocation_id source_allocation_id,
size_t num_source_values,
allocation_id dest_allocation_id)
Parameters
- instruction_id iid
- int priority
- reduction_id rid
- allocation_id source_allocation_id
- size_t num_source_values
- allocation_id dest_allocation_id