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
Stokhos_KokkosCrsMatrixMPVectorUnitTest_Cuda.cpp File Reference
#include "Teuchos_UnitTestHarness.hpp"
#include "Teuchos_UnitTestRepository.hpp"
#include "Teuchos_GlobalMPISession.hpp"
#include "Stokhos_KokkosCrsMatrixMPVectorUnitTest.hpp"
Include dependency graph for Stokhos_KokkosCrsMatrixMPVectorUnitTest_Cuda.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_cuda_embedded_vector (Ordinal num_blocks, Ordinal num_vec_threads, Ordinal num_row_threads, Teuchos::FancyOStream &out)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_CrsMatrix_MP, Multiply_Default, Storage, MultiplyOp)
 
 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)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_CrsMatrix_MP, Multiply_3, Storage, MultiplyOp)
 
 TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL (Kokkos_CrsMatrix_MP, Multiply_4, Storage, MultiplyOp)
 
int main (int argc, char *argv[])
 

Macro Definition Documentation

#define CRS_MATRIX_MP_VECTOR_MULTIPLY_TESTS_STORAGE_OP (   STORAGE,
  OP 
)
Value:
Kokkos_CrsMatrix_MP, Multiply_Default, STORAGE, OP ) \
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 ) \
TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( \
Kokkos_CrsMatrix_MP, Multiply_3, STORAGE, OP ) \
TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( \
Kokkos_CrsMatrix_MP, Multiply_4, STORAGE, OP )
#define TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(TEST_GROUP, TEST_NAME, TYPE1, TYPE2)

Definition at line 149 of file Stokhos_KokkosCrsMatrixMPVectorUnitTest_Cuda.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_cuda_embedded_vector ( Ordinal  num_blocks,
Ordinal  num_vec_threads,
Ordinal  num_row_threads,
Teuchos::FancyOStream out 
)
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL ( Kokkos_CrsMatrix_MP  ,
Multiply_Default  ,
Storage  ,
MultiplyOp   
)
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   
)
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL ( Kokkos_CrsMatrix_MP  ,
Multiply_3  ,
Storage  ,
MultiplyOp   
)
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL ( Kokkos_CrsMatrix_MP  ,
Multiply_4  ,
Storage  ,
MultiplyOp   
)
int main ( int  argc,
char *  argv[] 
)