class device_kernel_instruction
Declaration
class device_kernel_instruction : public implement_acceptor { /* full declaration omitted */ };
Description
Launches a SYCL device kernel on a single device. Bound accessors and reductions are hydrated through buffer_access_allocation_maps.
Declared at: include/instruction_graph.h:165
Inherits from: implement_acceptor
Member Variables
- device_id m_device_id
- device_kernel_launcher m_launcher
- box<3> m_execution_range
- buffer_access_allocation_map m_access_allocations
- buffer_access_allocation_map m_reduction_allocations
- size_t m_estimated_global_memory_traffic_bytes
Member Function Overview
- device_kernel_instruction(instruction_id iid, int priority, device_id did, device_kernel_launcher launcher, const box<3> & execution_range, buffer_access_allocation_map access_allocations, buffer_access_allocation_map reduction_allocations, size_t global_memory_traffic_estimate_bytes) → explicit
- get_access_allocations() const → const buffer_access_allocation_map &
- get_device_id() const → device_id
- get_estimated_global_memory_traffic_bytes() const → size_t
- get_execution_range() const → const box<3> &
- get_launcher() const → const device_kernel_launcher &
- get_reduction_allocations() const → const buffer_access_allocation_map &
Member Functions
¶explicit device_kernel_instruction(
instruction_id iid,
int priority,
device_id did,
device_kernel_launcher launcher,
const box<3>& execution_range,
buffer_access_allocation_map
access_allocations,
buffer_access_allocation_map
reduction_allocations,
size_t global_memory_traffic_estimate_bytes)
explicit device_kernel_instruction(
instruction_id iid,
int priority,
device_id did,
device_kernel_launcher launcher,
const box<3>& execution_range,
buffer_access_allocation_map
access_allocations,
buffer_access_allocation_map
reduction_allocations,
size_t global_memory_traffic_estimate_bytes)
Declared at: include/instruction_graph.h:167
Parameters
- instruction_id iid
- int priority
- device_id did
- device_kernel_launcher launcher
- const box<3>& execution_range
- buffer_access_allocation_map access_allocations
- buffer_access_allocation_map reduction_allocations
- size_t global_memory_traffic_estimate_bytes
¶const buffer_access_allocation_map&
get_access_allocations() const
const buffer_access_allocation_map&
get_access_allocations() const
Declared at: include/instruction_graph.h:180
¶device_id get_device_id() const
device_id get_device_id() const
Declared at: include/instruction_graph.h:177
¶size_t get_estimated_global_memory_traffic_bytes()
const
size_t get_estimated_global_memory_traffic_bytes()
const
Declared at: include/instruction_graph.h:182
¶const box<3>& get_execution_range() const
const box<3>& get_execution_range() const
Declared at: include/instruction_graph.h:179
¶const device_kernel_launcher& get_launcher() const
const device_kernel_launcher& get_launcher() const
Declared at: include/instruction_graph.h:178
¶const buffer_access_allocation_map&
get_reduction_allocations() const
const buffer_access_allocation_map&
get_reduction_allocations() const
Declared at: include/instruction_graph.h:181