10 #include <type_traits>
22 #include <Kokkos_Core.hpp>
24 #if defined( KOKKOS_ENABLE_OPENMP )
26 #elif defined( KOKKOS_ENABLE_THREADS )
49 const bool is_ad = Sacado::IsADType<ad_type>::value;
55 const bool is_scalar = Sacado::IsScalarType<ad_type>::value;
73 #ifdef HAVE_STOKHOS_PCE_SCALAR_TYPE
81 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( Traits, IsADType, pce_type )
85 typedef Sacado::ETPCE::Expr< Sacado::ETPCE::OrthogPolyImpl<
double,
storage_type> > pce_expr_type;
88 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( Traits, IsADType, pce_expr_type )
93 #ifdef HAVE_STOKHOS_ENSEMBLE_SCALAR_TYPE
101 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( Traits, IsADType, mp_type )
Stokhos::StandardStorage< int, double > storage_type
Sacado::ETPCE::OrthogPoly< double, Stokhos::StandardStorage< int, double > > pce_type
static int runUnitTestsFromMain(int argc, char *argv[])
TEUCHOS_UNIT_TEST_TEMPLATE_2_DECL(Kokkos_SG_SpMv, CrsProductTensorCijk, Scalar, Device)
int main(int argc, char **argv)
TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(Tpetra_CrsMatrix, MatVec, double, Node) TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(Tpetra_CrsMatrix
#define TEUCHOS_TEST_EQUALITY(v1, v2, out, success)
TEUCHOS_UNIT_TEST_TEMPLATE_1_DECL(Kokkos_CrsMatrix_MP, ReplaceValues, MatrixScalar)
SparseArrayIterator< index_iterator, value_iterator >::value_reference value(const SparseArrayIterator< index_iterator, value_iterator > &it)