ViennaCL - The Vienna Computing Library
1.5.0
|
Base class for mapping buffer-based objects to a generator class. More...
#include <mapped_objects.hpp>
Public Member Functions | |
mapped_buffer (std::string const &scalartype) | |
virtual std::string | generate (std::pair< std::string, std::string > const &index, int vector_element) const |
Protected Member Functions | |
std::string | append_vector_size (std::string const &scalartype, unsigned int vector_size) const |
Base class for mapping buffer-based objects to a generator class.
mapped_buffer | ( | std::string const & | scalartype | ) | [inline] |
std::string append_vector_size | ( | std::string const & | scalartype, |
unsigned int | vector_size | ||
) | const [inline, protected, virtual] |
Reimplemented from mapped_object.
virtual std::string generate | ( | std::pair< std::string, std::string > const & | index, |
int | vector_element | ||
) | const [inline, virtual] |
Reimplemented from mapped_object.