Skip to content

Commit

Permalink
Add explicit transfer before then in tridiag solver local merge imple…
Browse files Browse the repository at this point in the history
…mentation (#1145)
  • Loading branch information
msimberg authored May 22, 2024
1 parent 16fd3f5 commit ca7a265
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/dlaf/eigensolver/tridiag_solver/merge.h
Original file line number Diff line number Diff line change
Expand Up @@ -1007,9 +1007,11 @@ void multiplyEigenvectors(const SizeType sub_offset, const SizeType n, const Siz
// └───┴────────┴────┘ └────────────┴────┘

namespace ex = pika::execution::experimental;
using pika::execution::thread_priority;

ex::start_detached(
ex::when_all(std::forward<KSender>(k), std::forward<UDLSenders>(n_udl)) |
ex::transfer(dlaf::internal::getBackendScheduler<Backend::MC>(thread_priority::high)) |
ex::then([sub_offset, n, n_upper, n_lower, e0 = e0.subPipeline(), e1 = e1.subPipelineConst(),
e2 = e2.subPipelineConst()](const SizeType k, std::array<std::size_t, 3> n_udl) mutable {
using dlaf::matrix::internal::MatrixRef;
Expand Down

0 comments on commit ca7a265

Please sign in to comment.