Skip to content

Commit

Permalink
Merge remote-tracking branch 'hater/mem/trim-gpu-allocations' into me…
Browse files Browse the repository at this point in the history
…m/trim-gpu-allocations
  • Loading branch information
thorstenhater committed Oct 18, 2024
2 parents 8341758 + 65846b8 commit 44247a0
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 @@ -108,7 +108,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 44247a0

Please sign in to comment.