PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
Classes | Namespaces | Enumerations | Functions | Variables
backend_types.hpp File Reference

Defines an enumeration holding all possible backends. Can also include backends not available on the current target platform. More...

#include "plssvm/backends/SYCL/implementation_type.hpp"
#include "plssvm/detail/type_traits.hpp"
#include "plssvm/target_platforms.hpp"
#include <iosfwd>
#include <vector>
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  plssvm::csvm_to_backend_type< T >
 Get the plssvm::backend_type of the C-SVM class of type T. Ignores all top-level const, volatile, and reference qualifiers. More...
 

Namespaces

 plssvm
 The main namespace containing all public API functions.
 

Enumerations

enum class  plssvm::backend_type {
  plssvm::automatic , plssvm::openmp , plssvm::cuda , plssvm::hip ,
  plssvm::opencl , plssvm::sycl
}
 Enum class for all possible backend types. More...
 

Functions

std::vector< backend_type > plssvm::list_available_backends ()
 Return a list of all currently available backends. More...
 
backend_type plssvm::determine_default_backend (const std::vector< backend_type > &available_backends=list_available_backends(), const std::vector< target_platform > &available_target_platforms=list_available_target_platforms())
 Returns the default backend (if plssvm::backend_type::automatic is used) given the backend and target platform lists. More...
 
std::ostream & plssvm::operator<< (std::ostream &out, backend_type backend)
 Output the backend to the given output-stream out. More...
 
std::istream & plssvm::operator>> (std::istream &in, backend_type &backend)
 Use the input-stream in to initialize the backend type. More...
 

Variables

template<typename T >
constexpr backend_type plssvm::csvm_to_backend_type_v = csvm_to_backend_type<T>::value
 Get the plssvm::backend_type of the C-SVM class of type T. Ignores all top-level const, volatile, and reference qualifiers. More...
 

Detailed Description

Defines an enumeration holding all possible backends. Can also include backends not available on the current target platform.

Author
Alexander Van Craen
Marcel Breyer
License
This file is part of the PLSSVM project which is released under the MIT license. See the LICENSE.md file in the project root for full license information.