PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
queue_impl.hpp
Go to the documentation of this file.
1 
12 #ifndef PLSSVM_BACKENDS_SYCL_HIPSYCL_DETAIL_QUEUE_IMPL_HPP_
13 #define PLSSVM_BACKENDS_SYCL_HIPSYCL_DETAIL_QUEUE_IMPL_HPP_
14 #pragma once
15 
16 #include "plssvm/backends/SYCL/hipSYCL/detail/queue.hpp" // plssvm::sycl::detail::queue
17 
18 #include "sycl/sycl.hpp" // sycl::queue
19 
20 #include <utility> // std::forward
21 
22 namespace plssvm::hipsycl::detail {
23 
33  template <typename... Args>
34  explicit queue_impl(Args... args) :
35  sycl_queue{ std::forward<Args>(args)... } {}
36 
38  ::sycl::queue sycl_queue;
39 };
40 
41 } // namespace plssvm::hipsycl::detail
42 
43 #endif // PLSSVM_BACKENDS_SYCL_HIPSYCL_DETAIL_QUEUE_IMPL_HPP_
PImpl class used to hide the "sycl/sycl.hpp" header from the public interface.
Namespace containing the C-SVM using the SYCL backend with hipSYCL as SYCL implementation....
Definition: device_ptr.hpp:19
The PImpl implementation struct encapsulating a single SYCL queue.
Definition: queue_impl.hpp:27
::sycl::queue sycl_queue
The wrapped SYCL queue.
Definition: queue_impl.hpp:38
queue_impl(Args... args)
Construct a SYCL queue by forwarding all parameters in args.
Definition: queue_impl.hpp:34