ViennaCL - The Vienna Computing Library  1.5.0
Data Structures | Functions
viennacl::generator::utils Namespace Reference

Contains various helper routines for kernel generation. More...

Data Structures

struct  scalartype_size_fun
 Functor for returning the size of the underlying scalar type in bytes. More...
struct  internal_size_fun
 Functor for returning the internal size of a vector. More...
struct  handle_fun
 Functor for obtaining the OpenCL handle from ViennaCL objects (vector, matrix, etc.). More...
struct  internal_size1_fun
 Functor for obtaining the internal number of rows of a ViennaCL matrix. More...
struct  internal_size2_fun
 Functor for obtaining the internal number of columns of a ViennaCL matrix. More...
struct  is_same_type
 Helper metafunction for checking whether two types are the same. More...
class  kernel_generation_stream
 A stream class where the kernel sources are streamed to. Takes care of indentation of the sources. More...

Functions

template<class T >
std::string to_string (T const t)

Detailed Description

Contains various helper routines for kernel generation.


Function Documentation

std::string viennacl::generator::utils::to_string ( T const  t) [inline]