34 std::shared_ptr<DeviceContext>
ctx;
40 std::vector<std::unique_ptr<DeviceQueue>>
queues;
73 using DeviceScheduler_ptr = std::shared_ptr<DeviceScheduler>;
75 void test_device_scheduler(
const DeviceScheduler_ptr &dev_sched);
std::uint32_t u32
32 bit unsigned integer
A SYCL queue associated with a device and a context.
Class to manage the scheduling of kernels on a device.
bool use_direct_comm()
Check if the context corresponding to the device scheduler should use direct communication.
std::shared_ptr< DeviceContext > ctx
Reference to the device context associated with this DeviceScheduler.
void print_info()
Print information about the DeviceScheduler.
DeviceQueue & get_queue(u32 id=0)
Get a reference to a DeviceQueue.
std::vector< std::unique_ptr< DeviceQueue > > queues
Vector of unique pointers to the DeviceQueues associated with this DeviceScheduler.
namespace for backends this one is named only sham since shambackends is too long to write