|
ViennaCL - The Vienna Computing Library
1.5.1
|
Helper class for setting the arguments of a kernel. More...
#include <set_arguments_functor.hpp>
Public Types | |
| typedef void | result_type |
Public Member Functions | |
| set_arguments_functor (std::set< void * > &memory, unsigned int ¤t_arg, viennacl::ocl::kernel &kernel) | |
| template<class ScalarType > | |
| result_type | operator() (ScalarType const &scal) const |
| template<class ScalarType > | |
| result_type | operator() (scalar< ScalarType > const &scal) const |
| Scalar mapping. More... | |
| template<class ScalarType > | |
| result_type | operator() (vector_base< ScalarType > const &vec) const |
| Vector mapping. More... | |
| template<class ScalarType > | |
| result_type | operator() (implicit_vector_base< ScalarType > const &vec) const |
| Implicit vector mapping. More... | |
| template<class ScalarType , class Layout > | |
| result_type | operator() (matrix_base< ScalarType, Layout > const &mat) const |
| Matrix mapping. More... | |
| template<class ScalarType > | |
| result_type | operator() (implicit_matrix_base< ScalarType > const &mat) const |
| Implicit matrix mapping. More... | |
| void | operator() (scheduler::statement const *, scheduler::statement_node const *root_node, detail::node_type node_type) const |
| Traversal functor: More... | |
Public Member Functions inherited from traversal_functor | |
| void | call_before_expansion () const |
| void | call_after_expansion () const |
Helper class for setting the arguments of a kernel.
| typedef void result_type |
|
inline |
|
inline |
|
inline |
Scalar mapping.
|
inline |
Vector mapping.
|
inline |
Implicit vector mapping.
|
inline |
Matrix mapping.
|
inline |
Implicit matrix mapping.
|
inline |
Traversal functor:
1.8.6