PLSSVM - Parallel Least Squares Support Vector Machine  2.0.0
A Least Squares Support Vector Machine implementation using different backends.
Namespaces | Functions
svm_kernel.hip.hpp File Reference

Defines the kernel functions for the C-SVM using the HIP backend. More...

#include "hip/hip_runtime.h"
#include "hip/hip_runtime_api.h"
#include "plssvm/constants.hpp"

Go to the source code of this file.

Namespaces

 plssvm
 The main namespace containing all public API functions.
 
 plssvm::hip
 Namespace containing the C-SVM using the HIP backend.
 

Functions

template<typename real_type >
__global__ void plssvm::hip::device_kernel_linear (const real_type *q, real_type *ret, const real_type *d, const real_type *data_d, const real_type QA_cost, const real_type cost, const kernel_index_type num_rows, const kernel_index_type feature_range, const real_type add, const kernel_index_type id)
 Calculates the C-SVM kernel using the linear kernel function. More...
 
template<typename real_type >
__global__ void plssvm::hip::device_kernel_polynomial (const real_type *q, real_type *ret, const real_type *d, const real_type *data_d, const real_type QA_cost, const real_type cost, const kernel_index_type num_rows, const kernel_index_type num_cols, const real_type add, const int degree, const real_type gamma, const real_type coef0)
 Calculates the C-SVM kernel using the polynomial kernel function. More...
 
template<typename real_type >
__global__ void plssvm::hip::device_kernel_rbf (const real_type *q, real_type *ret, const real_type *d, const real_type *data_d, const real_type QA_cost, const real_type cost, const kernel_index_type num_rows, const kernel_index_type num_cols, const real_type add, const real_type gamma)
 Calculates the C-SVM kernel using the radial basis function kernel function. More...
 

Detailed Description

Defines the kernel functions for the C-SVM using the HIP backend.

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.