PLSSVM - Parallel Least Squares Support Vector Machine
2.0.0
A Least Squares Support Vector Machine implementation using different backends.
|
Namespace containing the C-SVM using the SYCL backend with hipSYCL as SYCL implementation. Should not directly be used by users. More...
Classes | |
class | device_ptr |
Small wrapper class around a hipSYCL device pointer together with commonly used device functions. More... | |
class | queue |
PImpl class to hide the SYCL queue class from the public interface (and, therefore, the "sycl/sycl.hpp" header). More... | |
Functions | |
std::pair< std::vector< queue >, target_platform > | get_device_list (target_platform target) |
Returns the list devices matching the target platform target and the actually used target platform (only interesting if the provided target was automatic). More... | |
void | device_synchronize (const queue &q) |
Wait for the compute device associated with q to finish. More... | |
queue | get_default_queue () |
Get the default SYCL queue. More... | |
Namespace containing the C-SVM using the SYCL backend with hipSYCL as SYCL implementation. Should not directly be used by users.
std::pair<std::vector<queue>, target_platform> plssvm::hipsycl::detail::get_device_list | ( | target_platform | target | ) |
Returns the list devices matching the target platform target
and the actually used target platform (only interesting if the provided target
was automatic).
If the selected target platform is plssvm::target_platform::automatic
the selector tries to find devices in the following order:
[in] | target | the target platform for which the devices must match |
[[nodiscard]]
) void plssvm::hipsycl::detail::device_synchronize | ( | const queue & | q | ) |
Wait for the compute device associated with q
to finish.
[in] | q | the SYCL queue to synchronize |
queue plssvm::hipsycl::detail::get_default_queue | ( | ) |
Get the default SYCL queue.
Only used in the tests, but must be defined and implemented here!
[[nodiscard]]
)