Skip to content

Commit

Permalink
Particle Copy Plan: Default Vals
Browse files Browse the repository at this point in the history
Valgrind finds those to be uninitialized in GPU runs with
1 MPI rank.
  • Loading branch information
ax3l committed Jan 30, 2024
1 parent ab99ea6 commit 64dc593
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/Particle/AMReX_ParticleCommunication.H
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ struct ParticleCopyPlan
Vector<int> m_rcv_box_pids;
Vector<int> m_rcv_box_levs;

Long m_NumSnds;
int m_nrcvs;
Long m_NumSnds = 0;
int m_nrcvs = 0;
mutable Vector<MPI_Status> m_build_stats;
mutable Vector<MPI_Request> m_build_rreqs;

Expand Down

0 comments on commit 64dc593

Please sign in to comment.