Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
unit_test Namespace Reference

Classes

struct  performance_test_driver< Scalar, Kokkos::Cuda >
 
struct  performance_test_driver
 
struct  ScalarTolerances
 
struct  ScalarTolerances< float >
 
struct  ScalarTolerances< double >
 

Functions

template<typename IntType >
IntType map_fem_graph_coord (const IntType &N, const IntType &i, const IntType &j, const IntType &k)
 
size_t generate_fem_graph (size_t N, std::vector< std::vector< size_t > > &graph)
 
template<typename ScalarType , typename TensorType , class Device >
std::vector< doubletest_product_tensor_matrix (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool symmetric)
 
template<typename ScalarType , class Device >
std::vector< doubletest_product_tensor_diagonal_matrix (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool symmetric)
 
template<typename ScalarType , class Device >
std::vector< doubletest_product_flat_commuted_matrix (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool symmetric)
 
template<typename ScalarType , class Device >
std::vector< doubletest_product_flat_original_matrix (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool symmetric)
 
template<typename ScalarType , class Device >
std::vector< doubletest_tiled_product_tensor_matrix (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool symmetric)
 
template<typename ScalarType , class Device >
std::vector< doubletest_simple_tiled_product_tensor_matrix (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool symmetric)
 
template<typename ScalarType , class Device >
std::vector< doubletest_lexo_block_tensor (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool symmetric)
 
template<typename ScalarType , class Device >
std::vector< doubletest_linear_tensor (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool symmetric)
 
template<typename ScalarType , class Device , class SparseMatOps >
std::vector< doubletest_original_matrix_free_vec (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool test_block, const bool symmetric)
 
template<typename ScalarType , class Device , class SparseMatOps >
std::vector< doubletest_original_matrix_free_view (const std::vector< int > &var_degree, const int nGrid, const int iterCount, const bool test_block, const bool symmetric)
 
template<class Scalar , class Device >
void performance_test_driver_all (const int pdeg, const int minvar, const int maxvar, const int nGrid, const int nIter, const bool test_block, const bool symmetric)
 
template<class Scalar , class Device , class SparseMatOps >
void performance_test_driver_poly (const int pdeg, const int minvar, const int maxvar, const int nGrid, const int nIter, const bool test_block, const bool symmetric)
 
template<class Scalar , class Device , class SparseMatOps >
void performance_test_driver_poly_deg (const int nvar, const int minp, const int maxp, const int nGrid, const int nIter, const bool test_block, const bool symmetric)
 
template<class Scalar , class Device , class SparseMatOps >
void performance_test_driver_linear (const int minvar, const int maxvar, const int varinc, const int nGrid, const int nIter, const bool test_block, const bool symmetric)
 

Function Documentation

template<typename IntType >
IntType unit_test::map_fem_graph_coord ( const IntType &  N,
const IntType &  i,
const IntType &  j,
const IntType &  k 
)
inline

Definition at line 85 of file TestStochastic.hpp.

size_t unit_test::generate_fem_graph ( size_t  N,
std::vector< std::vector< size_t > > &  graph 
)
inline

Definition at line 94 of file TestStochastic.hpp.

template<typename ScalarType , typename TensorType , class Device >
std::vector<double> unit_test::test_product_tensor_matrix ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  symmetric 
)

Definition at line 140 of file TestStochastic.hpp.

template<typename ScalarType , class Device >
std::vector<double> unit_test::test_product_tensor_diagonal_matrix ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  symmetric 
)

Definition at line 249 of file TestStochastic.hpp.

template<typename ScalarType , class Device >
std::vector<double> unit_test::test_product_flat_commuted_matrix ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  symmetric 
)

Definition at line 353 of file TestStochastic.hpp.

template<typename ScalarType , class Device >
std::vector<double> unit_test::test_product_flat_original_matrix ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  symmetric 
)

Definition at line 510 of file TestStochastic.hpp.

template<typename ScalarType , class Device >
std::vector<double> unit_test::test_tiled_product_tensor_matrix ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  symmetric 
)

Definition at line 658 of file TestStochastic.hpp.

template<typename ScalarType , class Device >
std::vector<double> unit_test::test_simple_tiled_product_tensor_matrix ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  symmetric 
)

Definition at line 769 of file TestStochastic.hpp.

template<typename ScalarType , class Device >
std::vector<double> unit_test::test_lexo_block_tensor ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  symmetric 
)

Definition at line 879 of file TestStochastic.hpp.

template<typename ScalarType , class Device >
std::vector<double> unit_test::test_linear_tensor ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  symmetric 
)

Definition at line 984 of file TestStochastic.hpp.

template<typename ScalarType , class Device , class SparseMatOps >
std::vector<double> unit_test::test_original_matrix_free_vec ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  test_block,
const bool  symmetric 
)

Definition at line 1092 of file TestStochastic.hpp.

template<typename ScalarType , class Device , class SparseMatOps >
std::vector<double> unit_test::test_original_matrix_free_view ( const std::vector< int > &  var_degree,
const int  nGrid,
const int  iterCount,
const bool  test_block,
const bool  symmetric 
)

Definition at line 1231 of file TestStochastic.hpp.

template<class Scalar , class Device >
void unit_test::performance_test_driver_all ( const int  pdeg,
const int  minvar,
const int  maxvar,
const int  nGrid,
const int  nIter,
const bool  test_block,
const bool  symmetric 
)

Definition at line 1527 of file TestStochastic.hpp.

template<class Scalar , class Device , class SparseMatOps >
void unit_test::performance_test_driver_poly ( const int  pdeg,
const int  minvar,
const int  maxvar,
const int  nGrid,
const int  nIter,
const bool  test_block,
const bool  symmetric 
)

Definition at line 1625 of file TestStochastic.hpp.

template<class Scalar , class Device , class SparseMatOps >
void unit_test::performance_test_driver_poly_deg ( const int  nvar,
const int  minp,
const int  maxp,
const int  nGrid,
const int  nIter,
const bool  test_block,
const bool  symmetric 
)

Definition at line 1720 of file TestStochastic.hpp.

template<class Scalar , class Device , class SparseMatOps >
void unit_test::performance_test_driver_linear ( const int  minvar,
const int  maxvar,
const int  varinc,
const int  nGrid,
const int  nIter,
const bool  test_block,
const bool  symmetric 
)

Definition at line 1800 of file TestStochastic.hpp.