ViennaCL - The Vienna Computing Library  1.7.0
Free open-source GPU-accelerated linear algebra and solver library.
scheduler_sparse.cpp File Reference
#include <iostream>
#include <boost/numeric/ublas/io.hpp>
#include <boost/numeric/ublas/triangular.hpp>
#include <boost/numeric/ublas/matrix_sparse.hpp>
#include <boost/numeric/ublas/matrix.hpp>
#include <boost/numeric/ublas/matrix_proxy.hpp>
#include <boost/numeric/ublas/lu.hpp>
#include <boost/numeric/ublas/operation_sparse.hpp>
#include "viennacl/scalar.hpp"
#include "viennacl/compressed_matrix.hpp"
#include "viennacl/coordinate_matrix.hpp"
#include "viennacl/ell_matrix.hpp"
#include "viennacl/hyb_matrix.hpp"
#include "viennacl/vector.hpp"
#include "viennacl/vector_proxy.hpp"
#include "viennacl/linalg/prod.hpp"
#include "viennacl/linalg/norm_2.hpp"
#include "viennacl/linalg/ilu.hpp"
#include "viennacl/linalg/detail/ilu/common.hpp"
#include "viennacl/io/matrix_market.hpp"
#include "viennacl/tools/random.hpp"
#include "viennacl/scheduler/execute.hpp"
#include "viennacl/scheduler/io.hpp"

Go to the source code of this file.

Macros

#define NDEBUG
 
#define VIENNACL_WITH_UBLAS   1
 

Functions

template<typename ScalarType >
ScalarType diff (ScalarType &s1, viennacl::scalar< ScalarType > &s2)
 
template<typename ScalarType >
ScalarType diff (ublas::vector< ScalarType > &v1, viennacl::vector< ScalarType > &v2)
 
template<typename ScalarType , typename VCL_MATRIX >
ScalarType diff (ublas::compressed_matrix< ScalarType > &cpu_matrix, VCL_MATRIX &gpu_matrix)
 
template<typename NumericT , typename Epsilon >
int test (Epsilon const &epsilon)
 
int main ()
 

Detailed Description

Tests the scheduler for sparse matrix operations.

Test:
Tests the scheduler for sparse matrix operations.

Definition in file scheduler_sparse.cpp.

Macro Definition Documentation

#define NDEBUG

Definition at line 24 of file scheduler_sparse.cpp.

#define VIENNACL_WITH_UBLAS   1

Definition at line 48 of file scheduler_sparse.cpp.

Function Documentation

template<typename ScalarType >
ScalarType diff ( ScalarType s1,
viennacl::scalar< ScalarType > &  s2 
)

Definition at line 74 of file scheduler_sparse.cpp.

template<typename ScalarType >
ScalarType diff ( ublas::vector< ScalarType > &  v1,
viennacl::vector< ScalarType > &  v2 
)

Definition at line 82 of file scheduler_sparse.cpp.

template<typename ScalarType , typename VCL_MATRIX >
ScalarType diff ( ublas::compressed_matrix< ScalarType > &  cpu_matrix,
VCL_MATRIX &  gpu_matrix 
)

Definition at line 114 of file scheduler_sparse.cpp.

int main ( )

Definition at line 400 of file scheduler_sparse.cpp.

template<typename NumericT , typename Epsilon >
int test ( Epsilon const &  epsilon)

Definition at line 179 of file scheduler_sparse.cpp.