ViennaCL - The Vienna Computing Library  1.7.1
Free open-source GPU-accelerated linear algebra and solver library.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
vector_element.hpp File Reference

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

Go to the source code of this file.

Classes

struct  viennacl::linalg::opencl::kernels::vector_element< NumericT >
 Main kernel class for generating OpenCL kernels for elementwise operations other than addition and subtraction on/with viennacl::vector<>. More...
 

Namespaces

 viennacl
 Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.
 
 viennacl::linalg
 Provides all linear algebra operations which are not covered by operator overloads.
 
 viennacl::linalg::opencl
 Holds all routines providing OpenCL linear algebra operations.
 
 viennacl::linalg::opencl::kernels
 Contains the OpenCL kernel generation functions for a predefined set of functionality.
 

Functions

template<typename StringT >
void viennacl::linalg::opencl::kernels::generate_vector_unary_element_ops (StringT &source, std::string const &numeric_string, std::string const &funcname, std::string const &op, std::string const &op_name)
 
template<typename StringT >
void viennacl::linalg::opencl::kernels::generate_vector_unary_element_ops (StringT &source, std::string const &numeric_string, std::string const &funcname)
 
template<typename StringT >
void viennacl::linalg::opencl::kernels::generate_vector_binary_element_ops (StringT &source, std::string const &numeric_string, int op_type)
 

Detailed Description

OpenCL kernel file for element-wise vector operations.

Definition in file vector_element.hpp.