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
111 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( Traits, IsADType, pce_type )
115 typedef Sacado::ETPCE::Expr< Sacado::ETPCE::OrthogPolyImpl<
double,
storage_type> > pce_expr_type;
118 TEUCHOS_UNIT_TEST_TEMPLATE_1_INSTANT( Traits, IsADType, pce_expr_type )
123 #ifdef HAVE_STOKHOS_ENSEMBLE_SCALAR_TYPE
131 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)