Stokhos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | Functions | Variables
Stokhos_KokkosCrsMatrixMPVectorUnitTest_Threads.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_Threads.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

#define CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP (   STORAGE,
  OP 
)
Value:
Kokkos_CrsMatrix_MP, Multiply_1, STORAGE, OP ) \
Kokkos_CrsMatrix_MP, Multiply_2, STORAGE, OP )
TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(Tpetra_CrsMatrix, MatVec, double, Node) TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(Tpetra_CrsMatrix

Definition at line 66 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest_Threads.cpp.

#define CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_ORDINAL_SCALAR_DEVICE (   ORDINAL,
  SCALAR,
  DEVICE 
)

Function Documentation

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[] 
)

Variable Documentation

size_t num_cores
size_t num_hyper_threads