ViennaCL - The Vienna Computing Library
1.5.2
|
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... | |
struct | type_to_string< T > |
Helper struct for converting a numerical type to its string representation. More... | |
struct | first_letter_of_type< T > |
Helper struct for obtaining the first letter of a type. Used internally by the generator only. More... | |
class | kernel_generation_stream |
A stream class where the kernel sources are streamed to. Takes care of indentation of the sources. More... | |
Namespaces | |
viennacl | |
Main namespace in ViennaCL. Holds all the basic types such as vector, matrix, etc. and defines operations upon them. | |
viennacl::generator | |
Provides an OpenCL kernel generator. | |
viennacl::generator::utils | |
Contains various helper routines for kernel generation. | |
Functions | |
template<class T > | |
std::string | to_string (T const t) |
Internal utils for a dynamic OpenCL kernel generation.