From 9aef81c153fd200028e374052b3b81cc6d22f27b Mon Sep 17 00:00:00 2001 From: Christian Glusa Date: Tue, 13 Aug 2024 13:51:03 -0600 Subject: [PATCH] MueLu: Fix CoalesceDropFactory_kokkos unit test w/ Cuda UVM Signed-off-by: Christian Glusa --- .../muelu/test/unit_tests_kokkos/CoalesceDropFactory_kokkos.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/muelu/test/unit_tests_kokkos/CoalesceDropFactory_kokkos.cpp b/packages/muelu/test/unit_tests_kokkos/CoalesceDropFactory_kokkos.cpp index ad40c6f8e821..c856c755ec50 100644 --- a/packages/muelu/test/unit_tests_kokkos/CoalesceDropFactory_kokkos.cpp +++ b/packages/muelu/test/unit_tests_kokkos/CoalesceDropFactory_kokkos.cpp @@ -973,7 +973,7 @@ TEUCHOS_UNIT_TEST_TEMPLATE_4_DECL(CoalesceDropFactory_kokkos, 2x2, Scalar, Local if (useKokkos) { auto graph = fineLevel.Get>("Graph", dropFact.get()); auto boundaryNodes_d = graph->GetBoundaryNodeMap(); - boundaryNodes = Kokkos::create_mirror_view(boundaryNodes_d); + boundaryNodes = Kokkos::View("boundaryNodes_host", boundaryNodes_d.extent(0)); Kokkos::deep_copy(boundaryNodes, boundaryNodes_d); } else { auto graph = fineLevel.Get>("Graph", dropFact.get());