SHOGUN  4.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
List of all members | Public Member Functions
ocl_operation Class Reference

Detailed Description

class ocl_operation for element-wise unary OpenCL operations for GPU-types (CGPUMatrix/CGPUVector).

Definition at line 49 of file opencl_operation.h.

Inheritance diagram for ocl_operation:
[legend]

Public Member Functions

 ocl_operation (std::string operation)
 
std::string get_operation () const
 

Constructor & Destructor Documentation

ocl_operation ( std::string  operation)

Constructor

Parameters
operationThe unary operation string. The current element has to be refered as "element".

Definition at line 57 of file opencl_operation.h.

Member Function Documentation

std::string get_operation ( ) const
Returns
The OpenCL operation to be used in a OpenCL kernel

Definition at line 64 of file opencl_operation.h.


The documentation for this class was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation