class ocl_operation for element-wise unary OpenCL operations for GPU-types (CGPUMatrix/CGPUVector).
在文件 opencl_operation.h 第 49 行定义.
Public 成员函数 | |
ocl_operation (std::string operation) | |
std::string | get_operation () const |
ocl_operation | ( | std::string | operation | ) |
Constructor
operation | The unary operation string. The current element has to be refered as "element". |
在文件 opencl_operation.h 第 57 行定义.
std::string get_operation | ( | ) | const |
在文件 opencl_operation.h 第 64 行定义.