|
ViennaCL - The Vienna Computing Library
1.5.1
|
Helper class for the OpenCL kernel generator, representing a statement. More...
#include <statement_representation_functor.hpp>
Public Types | |
| typedef void | result_type |
Public Member Functions | |
| statement_representation_functor (void *(&memory)[64], unsigned int, char *&ptr) | |
| template<class ScalarType > | |
| result_type | operator() (ScalarType const &) const |
| template<class ScalarType > | |
| result_type | operator() (scalar< ScalarType > const &scal) const |
| Scalar mapping. | |
| template<class ScalarType > | |
| result_type | operator() (vector_base< ScalarType > const &vec) const |
| Vector mapping. | |
| template<class ScalarType > | |
| result_type | operator() (implicit_vector_base< ScalarType > const &vec) const |
| Implicit vector mapping. | |
| template<class ScalarType , class Layout > | |
| result_type | operator() (matrix_base< ScalarType, Layout > const &mat) const |
| Matrix mapping. | |
| template<class ScalarType > | |
| result_type | operator() (implicit_matrix_base< ScalarType > const &mat) const |
| Implicit matrix mapping. | |
| void | operator() (scheduler::statement const *, scheduler::statement_node const *root_node, detail::node_type node_type) const |
Helper class for the OpenCL kernel generator, representing a statement.
| typedef void result_type |
| statement_representation_functor | ( | void *(&) | memory[64], |
| unsigned | int, | ||
| char *& | ptr | ||
| ) | [inline] |
| result_type operator() | ( | ScalarType const & | ) | const [inline] |
| result_type operator() | ( | scalar< ScalarType > const & | scal | ) | const [inline] |
Scalar mapping.
| result_type operator() | ( | vector_base< ScalarType > const & | vec | ) | const [inline] |
Vector mapping.
| result_type operator() | ( | implicit_vector_base< ScalarType > const & | vec | ) | const [inline] |
Implicit vector mapping.
| result_type operator() | ( | matrix_base< ScalarType, Layout > const & | mat | ) | const [inline] |
Matrix mapping.
| result_type operator() | ( | implicit_matrix_base< ScalarType > const & | mat | ) | const [inline] |
Implicit matrix mapping.
| void operator() | ( | scheduler::statement const * | , |
| scheduler::statement_node const * | root_node, | ||
| detail::node_type | node_type | ||
| ) | const [inline] |
1.7.6.1