Skip to content

Commit

Permalink
BUG: device update
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian-Diaz committed Dec 14, 2024
1 parent 64c8073 commit 42fd113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/test_tpetra_mesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 42fd113

Please sign in to comment.