Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
Macros | Functions | Variables
Stokhos_KokkosCrsMatrixMPVectorUnitTest_Serial.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_UnitTestRepository.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp"
#include "Kokkos_Core.hpp"
Include dependency graph for Stokhos_KokkosCrsMatrixMPVectorUnitTest_Serial.cpp:

Go to the source code of this file.

Macros

#define CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP(STORAGE, OP)
 
#define CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_ORDINAL_SCALAR_DEVICE(ORDINAL, SCALAR, DEVICE)
 

Functions

template<typename Storage , typename Ordinal , typename MultiplyOp , Ordinal NumPerThread, Ordinal ThreadsPerVector>
bool test_host_embedded_vector (Ordinal num_hyper_threads, Ordinal num_cores, Teuchos::FancyOStream &out)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_CrsMatrix_MP, Multiply_1, Storage, MultiplyOp)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_CrsMatrix_MP, Multiply_2, Storage, MultiplyOp)
 
int main (int argc, char *argv[])
 

Variables

size_t num_cores
 
size_t num_hyper_threads
 

Macro Definition Documentation

◆ CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP

#define CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP (   STORAGE,
  OP 
)
Value:
TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( \
Kokkos_CrsMatrix_MP, Multiply_1, STORAGE, OP ) \
TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( \
Kokkos_CrsMatrix_MP, Multiply_2, STORAGE, OP )

Definition at line 98 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest_Serial.cpp.

◆ CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_ORDINAL_SCALAR_DEVICE

#define CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_ORDINAL_SCALAR_DEVICE (   ORDINAL,
  SCALAR,
  DEVICE 
)
Value:
CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP( SFS, KokkosMultiply ) \
CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP( DS, DefaultMultiply ) \
CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP( DS, KokkosMultiply )
#define CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP(STORAGE, OP)

Definition at line 108 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest_Serial.cpp.

Function Documentation

◆ test_host_embedded_vector()

template<typename Storage , typename Ordinal , typename MultiplyOp , Ordinal NumPerThread, Ordinal ThreadsPerVector>
bool test_host_embedded_vector ( Ordinal  num_hyper_threads,
Ordinal  num_cores,
Teuchos::FancyOStream &  out 
)

◆ TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL() [1/2]

TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL ( Kokkos_CrsMatrix_MP  ,
Multiply_1  ,
Storage  ,
MultiplyOp   
)

◆ TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL() [2/2]

TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL ( Kokkos_CrsMatrix_MP  ,
Multiply_2  ,
Storage  ,
MultiplyOp   
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ num_cores

size_t num_cores

◆ num_hyper_threads

size_t num_hyper_threads