Skip to main content

struct sycl_backend::impl

Declaration

struct sycl_backend::impl { /* full declaration omitted */ };

Member Variables

system_info system
dense_map<device_id, device_state> devices
host_state host
bool enable_profiling

Member Function Overview

  • get_device_queue(device_id did, size_t lane) → sycl::queue &
  • get_host_queue(size_t lane) → thread_queue &
  • impl(const std::vector<sycl::device> & devices, bool enable_profiling)
  • template <typename F>
    submit_alloc(F && f) → async_event

Member Functions

sycl::queue& get_device_queue(device_id did,
                              size_t lane)

Parameters

device_id did
size_t lane

thread_queue& get_host_queue(size_t lane)

Parameters

size_t lane

impl(const std::vector<sycl::device>& devices,
     bool enable_profiling)

Parameters

const std::vector<sycl::device>& devices
bool enable_profiling

template <typename F>
async_event submit_alloc(F&& f)

Template Parameters

F

Parameters

F&& f