PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
constants.hpp
Go to the documentation of this file.
1 
12 #ifndef PLSSVM_BACKENDS_SYCL_DETAIL_CONSTANTS_HPP_
13 #define PLSSVM_BACKENDS_SYCL_DETAIL_CONSTANTS_HPP_
14 #pragma once
15 
19 #define PLSSVM_SYCL_BACKEND_COMPILER_HIPSYCL 1
20 
24 #define PLSSVM_SYCL_BACKEND_COMPILER_DPCPP 0
25 
26 #if defined(PLSSVM_HAS_SYCL_BACKEND)
27 // define the default used SYCL implementation
28 namespace plssvm::sycl {
29 using namespace plssvm::PLSSVM_SYCL_BACKEND_PREFERRED_IMPLEMENTATION;
30 }
31 #else
32 // define dpcpp as default SYCL namespace if no SYCL backend is available (to prevent compiler errors)
33 namespace plssvm::sycl {
34 using namespace plssvm::dpcpp;
35 }
36 #endif
37 
38 #endif // PLSSVM_BACKENDS_SYCL_DETAIL_CONSTANTS_HPP_
Namespace containing the C-SVM using the SYCL backend with DPC++ as SYCL implementation.
Definition: csvm.hpp:40
Namespace containing the C-SVM using the SYCL backend with the preferred SYCL implementation.
Definition: atomics.hpp:18