Stokhos Package Browser (Single Doxygen Collection)
Version of the Day
|
#include "Teuchos_TestingHelpers.hpp"
#include "Teuchos_UnitTestHelpers.hpp"
#include "Stokhos_UnitTestHelpers.hpp"
#include "Stokhos_Sacado_Kokkos_UQ_PCE.hpp"
#include "Stokhos_LegendreBasis.hpp"
#include "Stokhos_CompletePolynomialBasis.hpp"
#include "Stokhos_Sparse3Tensor.hpp"
Go to the source code of this file.
Classes | |
struct | ApplyView< DataType, LayoutType, ExecutionSpace > |
struct | NoLayout |
struct | ApplyView< DataType, NoLayout, ExecutionSpace > |
struct | Test::PCEAtomicFunctor< ViewType > |
Namespaces | |
Test | |
Macros | |
#define | VIEW_UQ_PCE_TESTS_STORAGE_LAYOUT(STORAGE, LAYOUT) |
#define | VIEW_UQ_PCE_TESTS_STORAGE(STORAGE) |
#define | VIEW_UQ_PCE_TESTS_ORDINAL_SCALAR_DEVICE(ORDINAL, SCALAR, DEVICE) |
#define | VIEW_UQ_PCE_TESTS_DEVICE(DEVICE) VIEW_UQ_PCE_TESTS_ORDINAL_SCALAR_DEVICE( int, double, DEVICE ) |
Functions | |
template<typename kokkos_cijk_type , typename ordinal_type > | |
kokkos_cijk_type | build_cijk (ordinal_type stoch_dim, ordinal_type poly_ord) |
template<typename scalar , typename ordinal > | |
scalar | generate_pce_coefficient (const ordinal nFEM, const ordinal nStoch, const ordinal iColFEM, const ordinal iStoch) |
template<typename ViewType > | |
bool | checkPCEView (const ViewType &v, Teuchos::FancyOStream &out) |
template<typename ViewType > | |
bool | checkConstantPCEView (const ViewType &v, const typename ViewType::value_type &v_expected, Teuchos::FancyOStream &out) |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, Size, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, DeepCopy, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, DeepCopy_NonContiguous, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, DeepCopy_ConstantScalar, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, DeepCopy_ConstantPCE, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, DeepCopy_ConstantPCE2, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (Kokkos_View_PCE, DeepCopy_Subview_Range, Storage) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, DeepCopy_HostArray, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, DeepCopy_DeviceArray, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, Unmanaged, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, DeviceAtomic, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_PCE, AssignData, Storage, Layout) | |
Variables | |
const int | global_num_rows = 11 |
const int | global_num_cols = 9 |
#define VIEW_UQ_PCE_TESTS_STORAGE_LAYOUT | ( | STORAGE, | |
LAYOUT | |||
) |
Definition at line 604 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
#define VIEW_UQ_PCE_TESTS_STORAGE | ( | STORAGE | ) |
Definition at line 636 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
#define VIEW_UQ_PCE_TESTS_ORDINAL_SCALAR_DEVICE | ( | ORDINAL, | |
SCALAR, | |||
DEVICE | |||
) |
Definition at line 645 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
#define VIEW_UQ_PCE_TESTS_DEVICE | ( | DEVICE | ) | VIEW_UQ_PCE_TESTS_ORDINAL_SCALAR_DEVICE( int, double, DEVICE ) |
Definition at line 649 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
kokkos_cijk_type build_cijk | ( | ordinal_type | stoch_dim, |
ordinal_type | poly_ord | ||
) |
Definition at line 27 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
|
inline |
Definition at line 59 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
bool checkPCEView | ( | const ViewType & | v, |
Teuchos::FancyOStream & | out | ||
) |
Definition at line 72 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
bool checkConstantPCEView | ( | const ViewType & | v, |
const typename ViewType::value_type & | v_expected, | ||
Teuchos::FancyOStream & | out | ||
) |
Definition at line 127 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
Size | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 172 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
DeepCopy | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 193 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
DeepCopy_NonContiguous | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 234 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
DeepCopy_ConstantScalar | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 269 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
DeepCopy_ConstantPCE | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 294 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
DeepCopy_ConstantPCE2 | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 319 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL | ( | Kokkos_View_PCE | , |
DeepCopy_Subview_Range | , | ||
Storage | |||
) |
Definition at line 346 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
DeepCopy_HostArray | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 398 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
DeepCopy_DeviceArray | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 438 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
Unmanaged | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 471 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
DeviceAtomic | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 545 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_PCE | , |
AssignData | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 569 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
const int global_num_rows = 11 |
Definition at line 169 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.
const int global_num_cols = 9 |
Definition at line 170 of file Stokhos_KokkosViewUQPCEUnitTest.hpp.