Skip to content

Commit

Permalink
bug fix: workspace in bt_red2band migth have not been reset
Browse files Browse the repository at this point in the history
  • Loading branch information
albestro committed Dec 20, 2024
1 parent 5f2ddd4 commit ffd3135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/dlaf/eigensolver/bt_reduction_to_band/impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,6 @@ void BackTransformationReductionToBand<B, D, T>::call(comm::CommunicatorGrid& gr
const LocalTileIndex t_index{Coord::Col, k_local};
computeTFactor<B>(panelV, mat_taus.read(taus_index), panelT.readwrite(t_index),
select(panelWS, panelWS.iteratorLocal()), mpi_col_task_chain);
panelWS.reset();

// WH = V T
for (const auto& idx : panel_view.iteratorLocal()) {
Expand Down Expand Up @@ -388,6 +387,7 @@ void BackTransformationReductionToBand<B, D, T>::call(comm::CommunicatorGrid& gr
splitTile(mat_c.readwrite(ij), mat_c_view(ij)));
}

panelWS.reset();
panelV.reset();
panelW.reset();
panelW2.reset();
Expand Down

0 comments on commit ffd3135

Please sign in to comment.