Class Acts::Sycl::QueueWrapper

class Acts::Sycl::QueueWrapper

Public Functions

QueueWrapper(const std::string& = "", std::unique_ptr<const Logger> logger = getDefaultLogger("Sycl::QueueWrapper", Logging::INFO))

Create queue with default selector or given name Default constructed queue wrappers are owners.

QueueWrapper(QueueWrapper &&parent) noexcept

Move constructor It takes ownership (if it is given).

QueueWrapper(const QueueWrapper &other)

Copy constructor Does not give ownership to the underlying pointer.

~QueueWrapper()

Destructor Destroy the underlying pointer, but only if it is owned.

cl::sycl::queue *getQueue() const

Get stored pointer.

QueueWrapper &operator=(QueueWrapper &&rhs) noexcept

Move assignment operator.

QueueWrapper &operator=(const QueueWrapper &other)

Copy assignment operator.