Skip to content

Commit

Permalink
Change pika::merge to std::merge
Browse files Browse the repository at this point in the history
  • Loading branch information
aurianer committed Sep 8, 2023
1 parent 52704e9 commit 997ec6f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions include/dlaf/eigensolver/tridiag_solver/index_manipulation.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
//
#pragma once

#include <pika/algorithm.hpp>
#include <algorithm>

#include <pika/execution.hpp>

#include <dlaf/eigensolver/tridiag_solver/kernels.h>
Expand Down Expand Up @@ -93,8 +94,8 @@ void sortIndex(const SizeType i_begin, const SizeType i_end, KSender&& k, Matrix
auto end_it = in_index_ptr + n;
if constexpr (D == Device::CPU) {
auto cmp = [v_ptr](const SizeType i1, const SizeType i2) { return v_ptr[i1] < v_ptr[i2]; };
pika::merge(pika::execution::par, begin_it, split_it, split_it, end_it, out_index_ptr,
std::move(cmp));
std::merge(std::execution::seq, begin_it, split_it, split_it, end_it, out_index_ptr,
std::move(cmp));
}
else {
#ifdef DLAF_WITH_GPU
Expand Down

0 comments on commit 997ec6f

Please sign in to comment.