Skip to content

Commit

Permalink
Add deleted variable def
Browse files Browse the repository at this point in the history
  • Loading branch information
Naim committed Feb 3, 2024
1 parent 7dfd5fb commit e97daa0
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ void perform_example_graph_operations(raft::handle_t const& handle,

// Non-owning view of the graph object
auto graph_view = graph.view();
// Number of vertices mapped to this process, ie the size of
// the vertex partition assigned to this process

vertex_t size_of_the_vertex_partition_assigned_to_this_process =
graph_view.local_vertex_partition_range_size();

// Non-owning of the edge edge_weights object
auto edge_weight_view = edge_weights ? std::make_optional((*edge_weights).view()) : std::nullopt;
Expand Down

0 comments on commit e97daa0

Please sign in to comment.