Stokhos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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

◆ map_fem_graph_coord()

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 91 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ generate_fem_graph()

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

Definition at line 101 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ generate_matrix_coefficient()

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 135 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ generate_vector_coefficient()

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 152 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ test_crs_matrix_free()

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

Definition at line 464 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ test_crs_matrix_free_view()

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 574 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ test_crs_dense_block()

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

Definition at line 784 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ test_crs_flat_commuted()

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

Definition at line 895 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ test_crs_flat_original()

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

Definition at line 1044 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ test_crs_product_tensor()

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 1190 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ test_linear_tensor()

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 1270 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.

◆ test_lexo_block_tensor()

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

Definition at line 1354 of file Stokhos_KokkosArrayKernelsUnitTest.hpp.