ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
matrix_float_double.hpp File Reference
#include <utility>
#include <iostream>
#include <fstream>
#include <string>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <ctime>
#include "viennacl/scalar.hpp"
#include "viennacl/matrix.hpp"
#include "viennacl/linalg/prod.hpp"
#include "viennacl/linalg/norm_1.hpp"
#include "viennacl/linalg/norm_inf.hpp"
#include "viennacl/linalg/norm_frobenius.hpp"
#include "viennacl/matrix_proxy.hpp"
#include "viennacl/vector_proxy.hpp"
#include "viennacl/linalg/norm_2.hpp"
#include "boost/numeric/ublas/vector.hpp"
#include "boost/numeric/ublas/matrix.hpp"
#include "boost/numeric/ublas/matrix_proxy.hpp"
#include "boost/numeric/ublas/vector_proxy.hpp"
#include "boost/numeric/ublas/io.hpp"

Go to the source code of this file.

Macros

#define VIENNACL_WITH_UBLAS
 
#define BOOST_UBLAS_NDEBUG
 
#define GENERATE_UNARY_OP_TEST(FUNCNAME)
 

Functions

template<typename MatrixType , typename VCLMatrixType >
bool check_for_equality (MatrixType const &ublas_A, VCLMatrixType const &vcl_A, double epsilon)
 
template<typename UBLASMatrixType , typename ViennaCLMatrixType1 , typename ViennaCLMatrixType2 , typename ViennaCLMatrixType3 >
int run_test (double epsilon, UBLASMatrixType &ublas_A, UBLASMatrixType &ublas_B, UBLASMatrixType &ublas_C, ViennaCLMatrixType1 &vcl_A, ViennaCLMatrixType2 &vcl_B, ViennaCLMatrixType3 vcl_C)
 
template<typename T , typename ScalarType >
int run_test (double epsilon)
 

Macro Definition Documentation

#define BOOST_UBLAS_NDEBUG

Definition at line 23 of file matrix_float_double.hpp.

#define GENERATE_UNARY_OP_TEST (   FUNCNAME)
#define VIENNACL_WITH_UBLAS

Definition at line 18 of file matrix_float_double.hpp.

Function Documentation

template<typename MatrixType , typename VCLMatrixType >
bool check_for_equality ( MatrixType const &  ublas_A,
VCLMatrixType const &  vcl_A,
double  epsilon 
)

Definition at line 54 of file matrix_float_double.hpp.

template<typename UBLASMatrixType , typename ViennaCLMatrixType1 , typename ViennaCLMatrixType2 , typename ViennaCLMatrixType3 >
int run_test ( double  epsilon,
UBLASMatrixType &  ublas_A,
UBLASMatrixType &  ublas_B,
UBLASMatrixType &  ublas_C,
ViennaCLMatrixType1 &  vcl_A,
ViennaCLMatrixType2 &  vcl_B,
ViennaCLMatrixType3  vcl_C 
)

Definition at line 87 of file matrix_float_double.hpp.

template<typename T , typename ScalarType >
int run_test ( double  epsilon)

Definition at line 864 of file matrix_float_double.hpp.