From e55c567954aa1c6f6dfb7ad373d2827c5cc56a14 Mon Sep 17 00:00:00 2001 From: MikeDvorskiy Date: Wed, 25 Sep 2024 16:09:27 +0200 Subject: [PATCH] [oneDPL][ranges][zip_view][test] -> oneapi::dpl::ranges --- test/parallel_api/ranges/std_ranges_zip_view.pass.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel_api/ranges/std_ranges_zip_view.pass.cpp b/test/parallel_api/ranges/std_ranges_zip_view.pass.cpp index 99f2157e506..b4b972e0c7d 100644 --- a/test/parallel_api/ranges/std_ranges_zip_view.pass.cpp +++ b/test/parallel_api/ranges/std_ranges_zip_view.pass.cpp @@ -28,14 +28,14 @@ main() constexpr int max_n = 10; int data[max_n] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9}; - auto zip_view = my::zip(data, std::views::iota(0, max_n)) | std::views::take(5); + auto zip_view = dpl_ranges::zip(data, std::views::iota(0, max_n)) | std::views::take(5); std::ranges::for_each(zip_view, test_std_ranges::f_mutuable, [](const auto& val) { return std::get<1>(val); }); test_std_ranges::call_with_host_policies(dpl_ranges::for_each, zip_view, test_std_ranges::f_mutuable, [](const auto& val) { return std::get<1>(val); }); dpl_ranges::for_each(test_std_ranges::dpcpp_policy(), zip_view, test_std_ranges::f_mutuable, [](const auto& val) { return std::get<1>(val); }); - auto zip_view_sort = my::zip(data, data); + auto zip_view_sort = dpl_ranges::zip(data, data); std::sort(zip_view_sort.begin(), zip_view_sort.begin() + max_n, [](const auto& val1, const auto& val2) { return std::get<0>(val1) > std::get<0>(val2); }); for(int i = 0; i < max_n; ++i)