20 #include <CL/sycl.hpp>
22 namespace Acts::Sycl {
25 std::unique_ptr<const Logger> incomingLogger)
28 auto exception_handler = [
this](cl::sycl::exception_list exceptions) {
29 for (std::exception_ptr
const&
e : exceptions) {
31 std::rethrow_exception(
e);
32 }
catch (std::exception&
e) {
33 ACTS_FATAL(
"Caught asynchronous (kernel) SYCL exception:\n" << e.what())
49 std::unique_ptr<const Logger> incomingLogger)
55 : m_queue(parent.m_queue),
56 m_ownsQueue(parent.m_ownsQueue),
58 parent.m_queue =
nullptr;
59 parent.m_ownsQueue =
false;
63 : m_queue(other.m_queue),
88 rhs.m_queue =
nullptr;
89 rhs.m_ownsQueue =
false;