ViennaCL - The Vienna Computing Library
1.5.2
|
OpenCL kernel file for 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 | avbv_config |
Configuration struct for generating OpenCL kernels for linear combinations of vectors. More... | |
struct | vector< TYPE > |
Main kernel class for generating OpenCL kernels for operations on/with viennacl::vector<> without involving matrices, multiple inner products, or element-wise operations other than addition or subtraction. More... | |
struct | vector_multi_inner_prod< TYPE > |
Main kernel class for generating OpenCL kernels for multiple inner products 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. | |
Enumerations | |
enum | avbv_scalar_type { VIENNACL_AVBV_NONE = 0, VIENNACL_AVBV_CPU, VIENNACL_AVBV_GPU } |
Enumeration for the scalar type in avbv-like operations. More... | |
Functions | |
template<typename StringType > | |
void | generate_avbv_impl2 (StringType &source, std::string const &, avbv_config const &cfg, bool mult_alpha, bool mult_beta) |
template<typename StringType > | |
void | generate_avbv_impl (StringType &source, std::string const &numeric_string, avbv_config const &cfg) |
template<typename StringType > | |
void | generate_avbv (StringType &source, std::string const &numeric_string) |
template<typename StringType > | |
void | generate_plane_rotation (StringType &source, std::string const &numeric_string) |
template<typename StringType > | |
void | generate_vector_swap (StringType &source, std::string const &numeric_string) |
template<typename StringType > | |
void | generate_assign_cpu (StringType &source, std::string const &numeric_string) |
template<typename StringType > | |
void | generate_inner_prod (StringType &source, std::string const &numeric_string, vcl_size_t vector_num) |
template<typename StringType > | |
void | generate_norm (StringType &source, std::string const &numeric_string) |
template<typename StringType > | |
void | generate_inner_prod_sum (StringType &source, std::string const &numeric_string) |
template<typename StringType > | |
void | generate_sum (StringType &source, std::string const &numeric_string) |
template<typename StringType > | |
void | generate_index_norm_inf (StringType &source, std::string const &numeric_string) |
OpenCL kernel file for vector operations.