ViennaCL - The Vienna Computing Library  1.5.0
Data Structures | Namespaces | Functions
viennacl/linalg/opencl/kernels/matrix_element.hpp File Reference

OpenCL kernel file for element-wise matrix operations. More...

#include "viennacl/tools/tools.hpp"
#include "viennacl/ocl/kernel.hpp"
#include "viennacl/ocl/platform.hpp"
#include "viennacl/ocl/utils.hpp"
#include "viennacl/linalg/opencl/kernels/matrix.hpp"

Go to the source code of this file.

Data Structures

struct  matrix_element< NumericT, F >
 Main kernel class for generating OpenCL kernels for elementwise-operations such as element_sin() on/with dense matrix objects of type viennacl::matrix<>. More...

Namespaces

namespace  viennacl
 

Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.


namespace  viennacl::linalg
 

Provides all linear algebra operations which are not covered by operator overloads.


namespace  viennacl::linalg::opencl
 

Holds all routines providing OpenCL linear algebra operations.


namespace  viennacl::linalg::opencl::kernels
 

Contains the OpenCL kernel generation functions for a predefined set of functionality.


Functions

template<typename StringType >
void generate_matrix_unary_element_ops (StringType &source, std::string const &numeric_string, std::string const &funcname, std::string const &op, std::string const &op_name, bool is_row_major)
template<typename StringType >
void generate_matrix_unary_element_ops (StringType &source, std::string const &numeric_string, std::string const &funcname, bool is_row_major)

Detailed Description

OpenCL kernel file for element-wise matrix operations.