From 42fd1134ba693881068dab93349ccda86f689ba2 Mon Sep 17 00:00:00 2001 From: Adrian-Diaz Date: Sat, 14 Dec 2024 12:55:43 -0700 Subject: [PATCH] BUG: device update --- examples/test_tpetra_mesh.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/test_tpetra_mesh.cpp b/examples/test_tpetra_mesh.cpp index e2441f5..b78c54a 100644 --- a/examples/test_tpetra_mesh.cpp +++ b/examples/test_tpetra_mesh.cpp @@ -242,7 +242,7 @@ void setup_maps(mesh_data &mesh) // std::cout << "{" << i + 1 << "," << global2local_map.get(ghost_nodes(i)) + 1 << "}" << std::endl; } - ghost_nodes.update_host(); + ghost_nodes.update_device(); // create a Map for ghost node indices TpetraPartitionMap<> ghost_node_map = TpetraPartitionMap<>(ghost_nodes);