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.
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
- task_type m_oob_task_type
- task_id m_oob_task_id
- std::string m_oob_task_name
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, task_type oob_task_type, task_id oob_task_id, std::string oob_task_name) → 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_oob_task_id() const → task_id
- get_oob_task_name() const → const std::string &
- get_oob_task_type() const → task_type
- 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,
task_type oob_task_type,
task_id oob_task_id,
std::string oob_task_name)
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,
task_type oob_task_type,
task_id oob_task_id,
std::string oob_task_name)
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
- task_type oob_task_type
- task_id oob_task_id
- std::string oob_task_name
¶const buffer_access_allocation_map&
get_access_allocations() const
const buffer_access_allocation_map&
get_access_allocations() const
¶device_id get_device_id() const
device_id get_device_id() const
¶size_t get_estimated_global_memory_traffic_bytes()
const
size_t get_estimated_global_memory_traffic_bytes()
const
¶const box<3>& get_execution_range() const
const box<3>& get_execution_range() const
¶const device_kernel_launcher& get_launcher() const
const device_kernel_launcher& get_launcher() const
¶task_id get_oob_task_id() const
task_id get_oob_task_id() const
¶const std::string& get_oob_task_name() const
const std::string& get_oob_task_name() const
¶task_type get_oob_task_type() const
task_type get_oob_task_type() const
¶const buffer_access_allocation_map&
get_reduction_allocations() const
const buffer_access_allocation_map&
get_reduction_allocations() const