|
ViennaCL - The Vienna Computing Library
1.5.1
|
OpenCL kernel template for reductions resulting in a vector. Example: Computing the row norms of a matrix concurrently. More...
#include <vector_reduction.hpp>
Public Member Functions | |
| vector_reduction (unsigned int vectorization, unsigned int m, unsigned int k, unsigned int num_groups) | |
| The user constructor. | |
| std::string | csv_representation () const |
| csv representation of an operation | |
| unsigned int | m () const |
| unsigned int | k () const |
| unsigned int | num_groups () const |
| void | configure_range_enqueue_arguments (vcl_size_t kernel_id, statements_type const &statements, viennacl::ocl::kernel &kernel, unsigned int &n_arg) const |
| Configures the range and enqueues the arguments associated with the profile. | |
| void | kernel_arguments (statements_type const &, std::string &arguments_string) const |
Static Public Member Functions | |
| static std::string | csv_format () |
OpenCL kernel template for reductions resulting in a vector. Example: Computing the row norms of a matrix concurrently.
| vector_reduction | ( | unsigned int | vectorization, |
| unsigned int | m, | ||
| unsigned int | k, | ||
| unsigned int | num_groups | ||
| ) | [inline] |
The user constructor.
| void configure_range_enqueue_arguments | ( | vcl_size_t | kernel_id, |
| statements_type const & | statements, | ||
| viennacl::ocl::kernel & | k, | ||
| unsigned int & | n_arg | ||
| ) | const [inline, virtual] |
Configures the range and enqueues the arguments associated with the profile.
Implements profile_base.
| static std::string csv_format | ( | ) | [inline, static] |
| std::string csv_representation | ( | ) | const [inline, virtual] |
| unsigned int k | ( | ) | const [inline] |
| void kernel_arguments | ( | statements_type const & | , |
| std::string & | arguments_string | ||
| ) | const [inline, virtual] |
Implements profile_base.
| unsigned int m | ( | ) | const [inline] |
| unsigned int num_groups | ( | ) | const [inline] |
1.7.6.1