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

Defines HIP functions for generating the q vector. 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_q_linear (real_type *q, const real_type *data_d, const real_type *data_last, const kernel_index_type num_rows, const kernel_index_type feature_range)
 Calculates the q vector using the linear C-SVM kernel. More...
 
template<typename real_type >
__global__ void plssvm::hip::device_kernel_q_polynomial (real_type *q, const real_type *data_d, const real_type *data_last, const kernel_index_type num_rows, const kernel_index_type num_cols, const int degree, const real_type gamma, const real_type coef0)
 Calculates the q vector using the polynomial C-SVM kernel. More...
 
template<typename real_type >
__global__ void plssvm::hip::device_kernel_q_rbf (real_type *q, const real_type *data_d, const real_type *data_last, const kernel_index_type num_rows, const kernel_index_type num_cols, const real_type gamma)
 Calculates the q vector using the radial basis functions C-SVM kernel. More...
 

Detailed Description

Defines HIP functions for generating the q vector.

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.