ViennaCL - The Vienna Computing Library
1.5.1
|
OpenCL kernel file for element-wise vector operations. More...
#include "viennacl/tools/tools.hpp"
#include "viennacl/ocl/kernel.hpp"
#include "viennacl/ocl/platform.hpp"
#include "viennacl/ocl/utils.hpp"
Go to the source code of this file.
Data Structures | |
struct | vector_element< TYPE > |
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 StringType > | |
void | generate_vector_unary_element_ops (StringType &source, std::string const &numeric_string, std::string const &funcname, std::string const &op, std::string const &op_name) |
template<typename StringType > | |
void | generate_vector_unary_element_ops (StringType &source, std::string const &numeric_string, std::string const &funcname) |
template<typename StringType > | |
void | generate_vector_binary_element_ops (StringType &source, std::string const &numeric_string) |
OpenCL kernel file for element-wise vector operations.