Skip to main content

class host_task_instruction

Declaration

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

Description

Launches a host task in a thread pool. Bound accessors are hydrated through a buffer_access_allocation_map.

Inherits from: implement_acceptor

Member Variables

host_task_launcher m_launcher
range<3> m_global_range
box<3> m_execution_range
buffer_access_allocation_map m_access_allocations
collective_group_id m_cgid
task_type m_oob_task_type
task_id m_oob_task_id
std::string m_oob_task_name

Member Function Overview

Member Functions

const buffer_access_allocation_map&
get_access_allocations() const


collective_group_id get_collective_group_id()
    const


const box<3>& get_execution_range() const


const range<3>& get_global_range() const


const host_task_launcher& get_launcher() const


task_id get_oob_task_id() const


const std::string& get_oob_task_name() const


task_type get_oob_task_type() const


host_task_instruction(
    instruction_id iid,
    int priority,
    host_task_launcher launcher,
    const box<3>& execution_range,
    const range<3>& global_range,
    buffer_access_allocation_map
        access_allocations,
    collective_group_id cgid,
    task_type oob_task_type,
    task_id oob_task_id,
    std::string oob_task_name)

Parameters

instruction_id iid
int priority
host_task_launcher launcher
const box<3>& execution_range
const range<3>& global_range
buffer_access_allocation_map access_allocations
collective_group_id cgid
task_type oob_task_type
task_id oob_task_id
std::string oob_task_name