Skip to content

Commit

Permalink
Merge remote-tracking branch 'hater/mem/trim-gpu-allocation-even-more…
Browse files Browse the repository at this point in the history
…' into mem/trim-gpu-allocation-even-more
  • Loading branch information
thorstenhater committed Oct 18, 2024
2 parents 3dadb08 + 77000f1 commit 33d6c5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arbor/backends/multicore/shared_state.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ void ion_state::reset() {
if (write_eX_) std::copy(init_eX_.begin(), init_eX_.end(), eX_.begin());
// This goes _last_ or at least after Xi since we might have removed reset_Xi
// when Xi is constant. Thus conditionally resetting Xi first and then copying
// Xi -> Xd is save in all cases.
// Xi -> Xd is safe in all cases.
if (write_Xd_) std::copy(Xi_.begin(), Xi_.end(), Xd_.begin());
}

Expand Down

0 comments on commit 33d6c5e

Please sign in to comment.