#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/matrix_proxy.hpp"
#include "viennacl/vector_proxy.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"
#include "viennacl/scheduler/execute.hpp"
Go to the source code of this file.
Macros | |
#define | VIENNACL_WITH_UBLAS |
#define | GENERATE_UNARY_OP_TEST(OPNAME) |
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) |
int | main (int, const char **) |
Tests the scheduler for matrix-operations (no matrix-matrix).
Definition in file scheduler_matrix.cpp.
#define GENERATE_UNARY_OP_TEST | ( | OPNAME | ) |
#define VIENNACL_WITH_UBLAS |
Definition at line 24 of file scheduler_matrix.cpp.
bool check_for_equality | ( | MatrixType const & | ublas_A, |
VCLMatrixType const & | vcl_A, | ||
double | epsilon | ||
) |
Definition at line 59 of file scheduler_matrix.cpp.
int main | ( | int | , |
const char ** | |||
) |
Definition at line 945 of file scheduler_matrix.cpp.
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 92 of file scheduler_matrix.cpp.
int run_test | ( | double | epsilon | ) |
Definition at line 454 of file scheduler_matrix.cpp.