diff --git a/include/dlaf/eigensolver/tridiag_solver/merge.h b/include/dlaf/eigensolver/tridiag_solver/merge.h index fde018c46b..be3945bcc4 100644 --- a/include/dlaf/eigensolver/tridiag_solver/merge.h +++ b/include/dlaf/eigensolver/tridiag_solver/merge.h @@ -252,12 +252,7 @@ auto calcTolerance(const SizeType i_begin, const SizeType i_end, Matrix(), std::move(tol_fn)) | - // TODO: This releases the tiles that are kept in the operation state. - // This is a temporary fix and needs to be replaced by a different - // adaptor or different lifetime guarantees. This is tracked in - // https://github.com/pika-org/pika/issues/479. - ex::ensure_started(); + di::transform(di::Policy(), std::move(tol_fn)); } // The index array `out_ptr` holds the indices of elements of `c_ptr` that order it such that @@ -442,12 +437,7 @@ auto applyDeflation(const SizeType i_begin, const SizeType i_end, RhoSender&& rh ex::when_all_vector(tc.read(index)), ex::when_all_vector(tc.readwrite(d)), ex::when_all_vector(tc.readwrite(z)), ex::when_all_vector(tc.readwrite(c))); - return di::transform(di::Policy(), std::move(deflate_fn), std::move(sender)) | - // TODO: This releases the tiles that are kept in the operation state. - // This is a temporary fix and needs to be replaced by a different - // adaptor or different lifetime guarantees. This is tracked in - // https://github.com/pika-org/pika/issues/479. - ex::ensure_started(); + return di::transform(di::Policy(), std::move(deflate_fn), std::move(sender)); } // z is an input whose values are destroyed by this call (input + workspace)