35 #include "Kokkos_Core.hpp"
38 #define SACADO_TEST_DFAD 1
45 Kokkos::DynRankView<Sacado::Fad::DFad<double>,Kokkos::Serial> v1(
47 Kokkos::DynRankView<Sacado::Fad::DFad<double>,Kokkos::LayoutRight,Kokkos::HostSpace> v2(
"v2", 3 , 5);
49 Kokkos::deep_copy(v1, v2);
58 const int StaticDim = 5;
61 typedef Kokkos::View<FadType1*,Kokkos::Serial> ViewType;
63 const size_t num_rows = 11;
64 const size_t fad_size = StaticDim;
65 ViewType v(
"v", num_rows, fad_size+1);
70 const size_t sz = x.size();
74 int main(
int argc,
char* argv[] ) {
78 Kokkos::initialize(argc,argv);
TEUCHOS_UNIT_TEST(Conversion, IsConvertible)
static int runUnitTestsFromMain(int argc, char *argv[])
#define TEUCHOS_TEST_EQUALITY(v1, v2, out, success)
#define VIEW_FAD_TESTS_D(D)