ViennaCL - The Vienna Computing Library  1.5.2
Public Member Functions | Static Public Member Functions
matrix_product Class Reference

Kernel generation class for matrix-matrix products. More...

#include <matrix_product.hpp>

Inheritance diagram for matrix_product:
profile_base

Public Member Functions

 matrix_product (unsigned int vectorization, vcl_size_t local_size1, vcl_size_t cache_width, vcl_size_t local_size2, unsigned int ms, unsigned int ks, unsigned int ns, bool use_lhs_shared, bool use_rhs_shared)
 The user constructor.
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 ()
static std::string size1 ()
static std::string size2 ()
static std::string size3 ()

Detailed Description

Kernel generation class for matrix-matrix products.


Constructor & Destructor Documentation

matrix_product ( unsigned int  vectorization,
vcl_size_t  local_size1,
vcl_size_t  cache_width,
vcl_size_t  local_size2,
unsigned int  ms,
unsigned int  ks,
unsigned int  ns,
bool  use_lhs_shared,
bool  use_rhs_shared 
) [inline]

The user constructor.


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.

static std::string size1 ( ) [inline, static]
static std::string size2 ( ) [inline, static]
static std::string size3 ( ) [inline, static]

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