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

OpenCL kernel file for scalar 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  asbs_config
 Configuration struct for generating OpenCL kernels for linear combinations of viennacl::scalar<> objects. More...
struct  scalar< TYPE >
 Main kernel class for generating OpenCL kernels for operations involving viennacl::scalar<>, but not viennacl::vector<> or 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.


Enumerations

enum  asbs_scalar_type { VIENNACL_ASBS_NONE = 0, VIENNACL_ASBS_CPU, VIENNACL_ASBS_GPU }
 Enumeration for the scalar type in avbv-like operations. More...

Functions

template<typename StringType >
void generate_asbs_impl3 (StringType &source, char sign_a, char sign_b, asbs_config const &cfg, bool mult_alpha, bool mult_beta)
template<typename StringType >
void generate_asbs_impl2 (StringType &source, char sign_a, char sign_b, asbs_config const &cfg)
template<typename StringType >
void generate_asbs_impl (StringType &source, std::string const &numeric_string, asbs_config const &cfg)
template<typename StringType >
void generate_asbs (StringType &source, std::string const &numeric_string)
template<typename StringType >
void generate_scalar_swap (StringType &source, std::string const &numeric_string)

Detailed Description

OpenCL kernel file for scalar operations.