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_MP_Vector.hpp"
#include "Stokhos_Ensemble_Sizes.hpp"
#include "Kokkos_Core.hpp"
Go to the source code of this file.
Classes | |
struct | ApplyView< DataType, LayoutType, ExecutionSpace > |
struct | NoLayout |
struct | ApplyView< DataType, NoLayout, ExecutionSpace > |
struct | Test::MPVectorAtomicFunctor< ViewType > |
Namespaces | |
Test | |
Macros | |
#define | VIEW_MP_VECTOR_TESTS_STORAGE_LAYOUT(STORAGE, LAYOUT) |
#define | VIEW_MP_VECTOR_TESTS_STORAGE(STORAGE) |
#define | VIEW_MP_VECTOR_TESTS_ORDINAL_SCALAR_DEVICE(ORDINAL, SCALAR, DEVICE) |
#define | VIEW_MP_VECTOR_TESTS_DEVICE(DEVICE) VIEW_MP_VECTOR_TESTS_ORDINAL_SCALAR_DEVICE( int, double, DEVICE ) |
Functions | |
template<typename scalar , typename ordinal > | |
scalar | generate_vector_coefficient (const ordinal nFEM, const ordinal nStoch, const ordinal iColFEM, const ordinal iStoch) |
template<typename ViewType > | |
bool | checkVectorView (const ViewType &v, Teuchos::FancyOStream &out) |
template<typename ViewType > | |
bool | checkConstantVectorView (const ViewType &v, const typename ViewType::value_type &v_expected, Teuchos::FancyOStream &out) |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, Size, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, DeepCopy, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, DeepCopy_ConstantScalar, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, DeepCopy_ConstantVector, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, DeepCopy_ConstantVector2, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL (Kokkos_View_MP, DeepCopy_Subview_Range, Storage) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, DeepCopy_HostArray, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, DeepCopy_DeviceArray, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, Unmanaged, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, PartitionHost, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, Flatten, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, DeviceAtomic, Storage, Layout) | |
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_View_MP, AssignData, Storage, Layout) | |
Variables | |
const int | global_num_rows = 11 |
const int | global_num_cols = STOKHOS_DEFAULT_ENSEMBLE_SIZE |
#define VIEW_MP_VECTOR_TESTS_STORAGE_LAYOUT | ( | STORAGE, | |
LAYOUT | |||
) |
Definition at line 563 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
#define VIEW_MP_VECTOR_TESTS_STORAGE | ( | STORAGE | ) |
Definition at line 595 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
#define VIEW_MP_VECTOR_TESTS_ORDINAL_SCALAR_DEVICE | ( | ORDINAL, | |
SCALAR, | |||
DEVICE | |||
) |
Definition at line 606 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
#define VIEW_MP_VECTOR_TESTS_DEVICE | ( | DEVICE | ) | VIEW_MP_VECTOR_TESTS_ORDINAL_SCALAR_DEVICE( int, double, DEVICE ) |
Definition at line 616 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
|
inline |
Definition at line 29 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
bool checkVectorView | ( | const ViewType & | v, |
Teuchos::FancyOStream & | out | ||
) |
Definition at line 42 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
bool checkConstantVectorView | ( | const ViewType & | v, |
const typename ViewType::value_type & | v_expected, | ||
Teuchos::FancyOStream & | out | ||
) |
Definition at line 98 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
Size | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 142 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
DeepCopy | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 155 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
DeepCopy_ConstantScalar | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 190 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
DeepCopy_ConstantVector | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 208 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
DeepCopy_ConstantVector2 | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 226 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL | ( | Kokkos_View_MP | , |
DeepCopy_Subview_Range | , | ||
Storage | |||
) |
Definition at line 247 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
DeepCopy_HostArray | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 294 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
DeepCopy_DeviceArray | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 328 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
Unmanaged | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 355 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
PartitionHost | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 393 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
Flatten | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 466 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
DeviceAtomic | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 519 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL | ( | Kokkos_View_MP | , |
AssignData | , | ||
Storage | , | ||
Layout | |||
) |
Definition at line 537 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
const int global_num_rows = 11 |
Definition at line 139 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.
const int global_num_cols = STOKHOS_DEFAULT_ENSEMBLE_SIZE |
Definition at line 140 of file Stokhos_KokkosViewMPVectorUnitTest.hpp.