Skip to content

Commit

Permalink
Move adjacent_difference to numeric header
Browse files Browse the repository at this point in the history
  • Loading branch information
dimitraka committed Jan 22, 2024
1 parent 8365e76 commit 8bc0b5e
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 5 deletions.
7 changes: 6 additions & 1 deletion docs/sphinx/api/public_api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ Functions
================================================= ==========================================================
`hpx` function C++ standard
================================================= ==========================================================
:cpp:func:`hpx::adjacent_difference` :cppreference-generic:`algorithm,adjacent_difference`
:cpp:func:`hpx::adjacent_find` :cppreference-generic:`algorithm,adjacent_find`
:cpp:func:`hpx::all_of` :cppreference-generic:`algorithm,all_any_none_of,all_of`
:cpp:func:`hpx::any_of` :cppreference-generic:`algorithm,all_any_none_of,any_of`
Expand Down Expand Up @@ -748,14 +747,20 @@ Functions
+--------------------------------------------------+
| `hpx::ranges` function |
+==================================================+
| :cpp:func:`hpx::ranges::adjacent_difference` |
+--------------------------------------------------+
| :cpp:func:`hpx::ranges::exclusive_scan` |
+--------------------------------------------------+
| :cpp:func:`hpx::ranges::inclusive_scan` |
+--------------------------------------------------+
| :cpp:func:`hpx::ranges::reduce` |
+--------------------------------------------------+
| :cpp:func:`hpx::ranges::transform_exclusive_scan`|
+--------------------------------------------------+
| :cpp:func:`hpx::ranges::transform_inclusive_scan`|
+--------------------------------------------------+
| :cpp:func:`hpx::ranges::transform_reduce` |
+--------------------------------------------------+

.. _public_api_header_hpx_optional:

Expand Down
1 change: 0 additions & 1 deletion libs/core/algorithms/include/hpx/parallel/algorithm.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#include <algorithm>

// Parallelism TS V1
#include <hpx/parallel/algorithms/adjacent_difference.hpp>
#include <hpx/parallel/algorithms/adjacent_find.hpp>
#include <hpx/parallel/algorithms/all_any_none.hpp>
#include <hpx/parallel/algorithms/copy.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

#include <hpx/parallel/algorithm.hpp>

#include <hpx/parallel/container_algorithms/adjacent_difference.hpp>
#include <hpx/parallel/container_algorithms/adjacent_find.hpp>
#include <hpx/parallel/container_algorithms/all_any_none.hpp>
#include <hpx/parallel/container_algorithms/copy.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

#include <hpx/parallel/numeric.hpp>

#include <hpx/parallel/container_algorithms/adjacent_difference.hpp>
#include <hpx/parallel/container_algorithms/exclusive_scan.hpp>
#include <hpx/parallel/container_algorithms/inclusive_scan.hpp>
#include <hpx/parallel/container_algorithms/reduce.hpp>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <hpx/algorithm.hpp>
#include <hpx/init.hpp>
#include <hpx/iterator_support/tests/iter_sent.hpp>
#include <hpx/modules/testing.hpp>
#include <hpx/numeric.hpp>

#include <cstddef>
#include <iostream>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

#include <hpx/algorithm.hpp>
#include <hpx/numeric.hpp>
#include <hpx/execution.hpp>
#include <hpx/init.hpp>
#include <hpx/iterator_support/tests/iter_sent.hpp>
Expand Down

0 comments on commit 8bc0b5e

Please sign in to comment.