Skip to main content

struct out_of_order_engine::assignment

Declaration

struct out_of_order_engine::assignment { /* full declaration omitted */ };

Description

Directions on how a single (ready) instruction is to be dispatched by the executor.

Member Variables

const detail::instruction* instruction = nullptr
out_of_order_engine::target target = out_of_order_engine::target::immediate
std::optional<device_id> device
Identifies the device to submit to (if target == device_queue) or to allocate on (if target == alloc_queue).
std::optional<lane_id> lane
Identifies the thread queue (target == host_queue) or the in-order queue for the given device (target == alloc_queue).

Member Function Overview

  • assignment(const detail::instruction * instruction, out_of_order_engine::target target, std::optional<device_id> device = std::nullopt, std::optional<lane_id> lane = std::nullopt)

Member Functions

assignment(
    const detail::instruction* instruction,
    out_of_order_engine::target target,
    std::optional<device_id> device =
        std::nullopt,
    std::optional<lane_id> lane = std::nullopt)

Parameters

const detail::instruction* instruction
out_of_order_engine::target target
std::optional<device_id> device = std::nullopt
std::optional<lane_id> lane = std::nullopt