ViennaCL - The Vienna Computing Library  1.5.0
Public Member Functions | Static Public Member Functions
matrix_saxpy Class Reference

OpenCL kernel generation class for matrix expressions of AXPY type, i.e. A = alpha * B + beta * C, where the number of summands can in principle be arbitrarily large. More...

#include <saxpy.hpp>

Inheritance diagram for matrix_saxpy:
profile_base

Public Member Functions

 matrix_saxpy (unsigned int v, vcl_size_t gs1, vcl_size_t gs2, vcl_size_t ng1, vcl_size_t ng2, unsigned int d)
std::string csv_representation () const
 csv representation of an operation
void configure_range_enqueue_arguments (vcl_size_t kernel_id, statements_type const &statements, viennacl::ocl::kernel &k, 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 ()

Detailed Description

OpenCL kernel generation class for matrix expressions of AXPY type, i.e. A = alpha * B + beta * C, where the number of summands can in principle be arbitrarily large.


Constructor & Destructor Documentation

matrix_saxpy ( unsigned int  v,
vcl_size_t  gs1,
vcl_size_t  gs2,
vcl_size_t  ng1,
vcl_size_t  ng2,
unsigned int  d 
) [inline]

Member Function Documentation

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]

csv representation of an operation

Useful when writing to a file

Implements profile_base.

void kernel_arguments ( statements_type const &  ,
std::string &  arguments_string 
) const [inline, virtual]

Implements profile_base.


The documentation for this class was generated from the following file: