#include <utility>
#include <iostream>
#include <fstream>
#include <string>
#include <cmath>
#include <algorithm>
#include <cstdio>
#include <ctime>
#include <vector>
#include "viennacl/scalar.hpp"
#include "viennacl/matrix.hpp"
#include "viennacl/linalg/prod.hpp"
#include "viennacl/matrix_proxy.hpp"
#include "viennacl/vector_proxy.hpp"
Go to the source code of this file.
|
template<typename NumericT , typename VCLMatrixType > |
bool | check_for_equality (std::vector< std::vector< NumericT > > const &std_A, VCLMatrixType const &vcl_A) |
|
template<typename STLMatrixType , typename ViennaCLMatrixType1 , typename ViennaCLMatrixType2 , typename ViennaCLMatrixType3 > |
int | run_test (STLMatrixType &std_A, STLMatrixType &std_B, STLMatrixType &std_C, ViennaCLMatrixType1 &vcl_A, ViennaCLMatrixType2 &vcl_B, ViennaCLMatrixType3 vcl_C) |
|
template<typename T , typename ScalarType > |
int | run_test () |
|
#define GENERATE_UNARY_OP_TEST |
( |
|
FUNCNAME | ) |
|
template<typename NumericT , typename VCLMatrixType >
bool check_for_equality |
( |
std::vector< std::vector< NumericT > > const & |
std_A, |
|
|
VCLMatrixType const & |
vcl_A |
|
) |
| |
template<typename STLMatrixType , typename ViennaCLMatrixType1 , typename ViennaCLMatrixType2 , typename ViennaCLMatrixType3 >
int run_test |
( |
STLMatrixType & |
std_A, |
|
|
STLMatrixType & |
std_B, |
|
|
STLMatrixType & |
std_C, |
|
|
ViennaCLMatrixType1 & |
vcl_A, |
|
|
ViennaCLMatrixType2 & |
vcl_B, |
|
|
ViennaCLMatrixType3 |
vcl_C |
|
) |
| |
template<typename T , typename ScalarType >