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
KokkosKernelsUnitTest Namespace Reference

Classes

struct  UnitTestSetup
 

Functions

template<typename IntType >
IntType map_fem_graph_coord (const IntType &N, const IntType &i, const IntType &j, const IntType &k)
 
template<typename ordinal >
ordinal generate_fem_graph (ordinal N, std::vector< std::vector< ordinal > > &graph)
 
template<typename scalar , typename ordinal >
scalar generate_matrix_coefficient (const ordinal nFEM, const ordinal nStoch, const ordinal iRowFEM, const ordinal iColFEM, const ordinal iStoch)
 
template<typename scalar , typename ordinal >
scalar generate_vector_coefficient (const ordinal nFEM, const ordinal nStoch, const ordinal iColFEM, const ordinal iStoch)
 
template<typename value_type , typename Device , typename SparseMatOps >
bool test_crs_matrix_free (const UnitTestSetup< Device > &setup, Teuchos::FancyOStream &out)
 
template<typename value_type , typename Device , typename SparseMatOps >
bool test_crs_matrix_free_view (const UnitTestSetup< Device > &setup, Teuchos::FancyOStream &out)
 
template<typename ScalarType , class Device >
bool test_crs_dense_block (const UnitTestSetup< Device > &setup, Teuchos::FancyOStream &out)
 
template<typename ScalarType , class Device >
bool test_crs_flat_commuted (const UnitTestSetup< Device > &setup, Teuchos::FancyOStream &out)
 
template<typename ScalarType , class Device >
bool test_crs_flat_original (const UnitTestSetup< Device > &setup, Teuchos::FancyOStream &out)
 
template<typename ScalarType , typename TensorType , class Device >
bool test_crs_product_tensor (const UnitTestSetup< Device > &setup, Teuchos::FancyOStream &out, const Teuchos::ParameterList &params=Teuchos::ParameterList())
 
template<typename ScalarType , class Device , int BlockSize>
bool test_linear_tensor (const UnitTestSetup< Device > &setup, Teuchos::FancyOStream &out, const bool symmetric)
 
template<typename ScalarType , class Device >
bool test_lexo_block_tensor (const UnitTestSetup< Device > &setup, Teuchos::FancyOStream &out)
 

Function Documentation

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

Definition at line 59 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename ordinal >
ordinal KokkosKernelsUnitTest::generate_fem_graph ( ordinal  N,
std::vector< std::vector< ordinal > > &  graph 
)
inline

Definition at line 69 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename scalar , typename ordinal >
scalar KokkosKernelsUnitTest::generate_matrix_coefficient ( const ordinal  nFEM,
const ordinal  nStoch,
const ordinal  iRowFEM,
const ordinal  iColFEM,
const ordinal  iStoch 
)
inline

Definition at line 103 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename scalar , typename ordinal >
scalar KokkosKernelsUnitTest::generate_vector_coefficient ( const ordinal  nFEM,
const ordinal  nStoch,
const ordinal  iColFEM,
const ordinal  iStoch 
)
inline

Definition at line 120 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename value_type , typename Device , typename SparseMatOps >
bool KokkosKernelsUnitTest::test_crs_matrix_free ( const UnitTestSetup< Device > &  setup,
Teuchos::FancyOStream out 
)

Definition at line 432 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename value_type , typename Device , typename SparseMatOps >
bool KokkosKernelsUnitTest::test_crs_matrix_free_view ( const UnitTestSetup< Device > &  setup,
Teuchos::FancyOStream out 
)

Definition at line 542 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename ScalarType , class Device >
bool KokkosKernelsUnitTest::test_crs_dense_block ( const UnitTestSetup< Device > &  setup,
Teuchos::FancyOStream out 
)

Definition at line 752 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename ScalarType , class Device >
bool KokkosKernelsUnitTest::test_crs_flat_commuted ( const UnitTestSetup< Device > &  setup,
Teuchos::FancyOStream out 
)

Definition at line 863 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename ScalarType , class Device >
bool KokkosKernelsUnitTest::test_crs_flat_original ( const UnitTestSetup< Device > &  setup,
Teuchos::FancyOStream out 
)

Definition at line 1012 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename ScalarType , typename TensorType , class Device >
bool KokkosKernelsUnitTest::test_crs_product_tensor ( const UnitTestSetup< Device > &  setup,
Teuchos::FancyOStream out,
const Teuchos::ParameterList params = Teuchos::ParameterList() 
)

Definition at line 1158 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename ScalarType , class Device , int BlockSize>
bool KokkosKernelsUnitTest::test_linear_tensor ( const UnitTestSetup< Device > &  setup,
Teuchos::FancyOStream out,
const bool  symmetric 
)

Definition at line 1238 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

template<typename ScalarType , class Device >
bool KokkosKernelsUnitTest::test_lexo_block_tensor ( const UnitTestSetup< Device > &  setup,
Teuchos::FancyOStream out 
)

Definition at line 1322 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.