ViennaCL - The Vienna Computing Library  1.5.2
Data Structures | Namespaces | Functions
viennacl/generator/utils.hpp File Reference

Internal utils for a dynamic OpenCL kernel generation. More...

#include <sstream>
#include "viennacl/ocl/forwards.h"
#include "viennacl/traits/size.hpp"
#include "viennacl/scheduler/forwards.h"

Go to the source code of this file.

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< T, U >
 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...
class  kernel_generation_stream::kgenstream

Namespaces

namespace  viennacl
 

Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them.


namespace  viennacl::generator
 

Provides an OpenCL kernel generator.


namespace  viennacl::generator::utils
 

Contains various helper routines for kernel generation.


Functions

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

Detailed Description

Internal utils for a dynamic OpenCL kernel generation.