52 #include <Kokkos_Core.hpp>
54 #if defined( KOKKOS_ENABLE_OPENMP )
56 #elif defined( KOKKOS_ENABLE_THREADS )
65 Sacado::mpl::is_same< typename Sacado::ScalarType<ad_type>::type,
scalar_type >
::value;
73 Sacado::mpl::is_same< typename Sacado::ValueType<ad_type>::type,
value_type >
::value;
79 const bool is_ad = Sacado::IsADType<ad_type>::value;
85 const bool is_scalar = Sacado::IsScalarType<ad_type>::value;
103 #ifdef HAVE_STOKHOS_PCE_SCALAR_TYPE
110 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, ValueType,
pce_type,
double )
111 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( Traits, IsADType, pce_type )
112 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, Value, pce_type,
double )
113 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, ScalarValue, pce_type,
double )
115 typedef Sacado::ETPCE::Expr< Sacado::ETPCE::OrthogPolyImpl<
double,
storage_type> > pce_expr_type;
116 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, ScalarType, pce_expr_type,
double )
117 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, ValueType, pce_expr_type,
double )
118 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( Traits, IsADType, pce_expr_type )
119 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, Value, pce_expr_type,
double )
120 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, ScalarValue, pce_expr_type,
double )
123 #ifdef HAVE_STOKHOS_ENSEMBLE_SCALAR_TYPE
130 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, ValueType, mp_type,
double )
131 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( Traits, IsADType, mp_type )
132 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, Value, mp_type,
double )
133 TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT( Traits, ScalarValue, mp_type,
double )
#define TEUCHOS_UNIT_TEST_TEMPLATE_2_INSTANT(TEST_GROUP, TEST_NAME, TYPE1, TYPE2)
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)
#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)