1 #ifndef VIENNACL_SCHEDULER_EXECUTE_VECTOR_DISPATCHER_HPP 
    2 #define VIENNACL_SCHEDULER_EXECUTE_VECTOR_DISPATCHER_HPP 
   41 template<
typename ScalarType1>
 
   43         lhs_rhs_element const & vec2, ScalarType1 
const & alpha, 
vcl_size_t len_alpha, 
bool reciprocal_alpha, 
bool flip_sign_alpha)
 
   47             && 
bool(
"Arguments are not vector types!"));
 
   67 template<
typename ScalarType1, 
typename ScalarType2>
 
   69           lhs_rhs_element const & vec2, ScalarType1 
const & alpha, 
vcl_size_t len_alpha, 
bool reciprocal_alpha, 
bool flip_sign_alpha,
 
   75             && 
bool(
"Arguments are not vector types!"));
 
   97 template<
typename ScalarType1, 
typename ScalarType2>
 
   99             lhs_rhs_element const & vec2, ScalarType1 
const & alpha, 
vcl_size_t len_alpha, 
bool reciprocal_alpha, 
bool flip_sign_alpha,
 
  105             && 
bool(
"Arguments are not vector types!"));
 
viennacl::scalar< float > * scalar_float
void inner_prod_impl(lhs_rhs_element const &x, lhs_rhs_element const &y, lhs_rhs_element const &s)
Dispatcher interface for computing s = inner_prod(x, y) 
Implementations of vector operations. 
void norm_impl(lhs_rhs_element const &x, lhs_rhs_element const &s, operation_node_type op_type)
Dispatcher interface for computing s = norm_1(x) 
void avbv_v(vector_base< T > &vec1, vector_base< T > const &vec2, ScalarType1 const &alpha, vcl_size_t len_alpha, bool reciprocal_alpha, bool flip_sign_alpha, vector_base< T > const &vec3, ScalarType2 const &beta, vcl_size_t len_beta, bool reciprocal_beta, bool flip_sign_beta)
double convert_to_double(float d)
statement_node_subtype subtype
This file provides the forward declarations for the main types used within ViennaCL. 
statement_node_type_family type_family
A class representing the 'data' for the LHS or RHS operand of the respective node. 
void avbv(lhs_rhs_element &vec1, lhs_rhs_element const &vec2, ScalarType1 const &alpha, vcl_size_t len_alpha, bool reciprocal_alpha, bool flip_sign_alpha, lhs_rhs_element const &vec3, ScalarType2 const &beta, vcl_size_t len_beta, bool reciprocal_beta, bool flip_sign_beta)
Wrapper for viennacl::linalg::avbv(), taking care of the argument unwrapping. 
void norm_2_impl(vector_base< T > const &vec, scalar< T > &result)
Computes the l^2-norm of a vector - dispatcher interface. 
void max_impl(vector_base< T > const &vec, scalar< T > &result)
void inner_prod_impl(vector_base< T > const &vec1, vector_base< T > const &vec2, scalar< T > &result)
Computes the inner product of two vectors - dispatcher interface. 
statement_node_numeric_type numeric_type
viennacl::vector_base< float > * vector_float
void norm_inf_impl(vector_base< T > const &vec, scalar< T > &result)
Computes the supremum-norm of a vector. 
void norm_1_impl(vector_base< T > const &vec, scalar< T > &result)
Computes the l^1-norm of a vector - dispatcher interface. 
void min_impl(vector_base< T > const &vec, scalar< T > &result)
viennacl::vector_base< double > * vector_double
void avbv_v(lhs_rhs_element &vec1, lhs_rhs_element const &vec2, ScalarType1 const &alpha, vcl_size_t len_alpha, bool reciprocal_alpha, bool flip_sign_alpha, lhs_rhs_element const &vec3, ScalarType2 const &beta, vcl_size_t len_beta, bool reciprocal_beta, bool flip_sign_beta)
Wrapper for viennacl::linalg::avbv_v(), taking care of the argument unwrapping. 
viennacl::scalar< double > * scalar_double
Provides the datastructures for dealing with a single statement such as 'x = y + z;'. 
void avbv(vector_base< T > &vec1, vector_base< T > const &vec2, ScalarType1 const &alpha, vcl_size_t len_alpha, bool reciprocal_alpha, bool flip_sign_alpha, vector_base< T > const &vec3, ScalarType2 const &beta, vcl_size_t len_beta, bool reciprocal_beta, bool flip_sign_beta)
operation_node_type
Enumeration for identifying the possible operations. 
void av(lhs_rhs_element &vec1, lhs_rhs_element const &vec2, ScalarType1 const &alpha, vcl_size_t len_alpha, bool reciprocal_alpha, bool flip_sign_alpha)
Wrapper for viennacl::linalg::av(), taking care of the argument unwrapping. 
void av(vector_base< T > &vec1, vector_base< T > const &vec2, ScalarType1 const &alpha, vcl_size_t len_alpha, bool reciprocal_alpha, bool flip_sign_alpha)
float convert_to_float(float f)
Provides various utilities for implementing the execution of statements. 
Exception for the case the scheduler is unable to deal with the operation.