Skip to content

Commit

Permalink
Merge pull request #1530 from brian-kelley/FixColoringUninitialized
Browse files Browse the repository at this point in the history
Fix valgrind uninitialized errors in EB coloring
  • Loading branch information
lucbv authored Sep 15, 2022
2 parents 2a8053e + 62fdbab commit 764a8ff
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/graph/impl/KokkosGraph_Distance1Color_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2299,8 +2299,7 @@ class GraphColor_EB : public GraphColor<HandleType, in_row_index_view_type_,
color_temp_work_view_type color_ban(
Kokkos::view_alloc(Kokkos::WithoutInitializing, "color_ban"), this->nv);
color_temp_work_view_type tentative_color_ban(
Kokkos::view_alloc(Kokkos::WithoutInitializing, "tentative_color_ban"),
this->nv); // views are initialized with zero
"tentative_color_ban", this->nv); // views are initialized with zero
// allocate memory for vertex color set shifts.
nnz_lno_temp_work_view_t color_set("color_set",
this->nv); // initialized with zero.
Expand Down

0 comments on commit 764a8ff

Please sign in to comment.