Skip to content

Commit 4dad62e

Browse files
committed
Adapting HPX modules of level 15 to C++ modules
Signed-off-by: Hartmut Kaiser <hartmut.kaiser@gmail.com>
1 parent a3c33ce commit 4dad62e

366 files changed

Lines changed: 1349 additions & 1398 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

cmake/templates/std_headers.hpp.in

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,28 @@
1414

1515
@cxx_standard_headers@
1616
// Some standard headers include the following headers.
17-
#include <filesystem>
1817
#include <numeric>
1918

19+
#if defined(HPX_HAVE_STDEXEC)
20+
# if defined(HPX_GCC_VERSION)
21+
# pragma GCC diagnostic push
22+
# pragma GCC diagnostic ignored "-Wall"
23+
# pragma GCC diagnostic ignored "-Wextra"
24+
# pragma GCC diagnostic ignored "-Wmissing-braces"
25+
# elif defined(HPX_CLANG_VERSION)
26+
# pragma clang diagnostic push
27+
# pragma clang diagnostic ignored "-Weverything"
28+
# endif
29+
30+
# include <stdexec/execution.hpp>
31+
32+
# if defined(HPX_GCC_VERSION)
33+
# pragma GCC diagnostic pop
34+
# elif defined(HPX_CLANG_VERSION)
35+
# pragma clang diagnostic pop
36+
# endif
37+
#endif
38+
2039
#if defined(HPX_HAVE_CXX20_COROUTINES)
2140
# if defined(__has_include)
2241
# if __has_include(<coroutine>)

components/component_storage/include/hpx/components/component_storage/component_storage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
#pragma once
88

99
#include <hpx/config.hpp>
10-
#include <hpx/async_base/launch_policy.hpp>
1110
#include <hpx/components/client_base.hpp>
1211
#include <hpx/futures/future.hpp>
12+
#include <hpx/modules/async_base.hpp>
1313
#include <hpx/naming_base/address.hpp>
1414
#include <hpx/naming_base/id_type.hpp>
1515

components/component_storage/include/hpx/components/component_storage/server/migrate_from_storage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
#include <hpx/config.hpp>
1010
#include <hpx/components_base/traits/component_pin_support.hpp>
1111
#include <hpx/components_base/traits/component_supports_migration.hpp>
12-
#include <hpx/modules/functional.hpp>
1312
#include <hpx/modules/errors.hpp>
13+
#include <hpx/modules/functional.hpp>
1414
#include <hpx/naming_base/address.hpp>
1515
#include <hpx/naming_base/id_type.hpp>
1616
#include <hpx/runtime_distributed/runtime_support.hpp>

components/component_storage/include/hpx/components/component_storage/server/migrate_to_storage.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88

99
#include <hpx/config.hpp>
1010
#include <hpx/assert.hpp>
11-
#include <hpx/modules/functional.hpp>
1211
#include <hpx/modules/errors.hpp>
12+
#include <hpx/modules/functional.hpp>
1313
#include <hpx/naming_base/address.hpp>
1414
#include <hpx/naming_base/id_type.hpp>
1515

components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/detail/view_element.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
#pragma once
1010

1111
#include <hpx/assert.hpp>
12-
#include <hpx/async_base/launch_policy.hpp>
1312
#include <hpx/collectives/spmd_block.hpp>
1413
#include <hpx/components/containers/partitioned_vector/partitioned_vector_component_decl.hpp>
1514
#include <hpx/components/containers/partitioned_vector/partitioned_vector_segmented_iterator.hpp>
15+
#include <hpx/modules/async_base.hpp>
1616
#include <hpx/naming_base/id_type.hpp>
1717
#include <hpx/runtime_local/get_locality_id.hpp>
1818

components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/partitioned_vector_component_decl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@
1919
#include <hpx/config.hpp>
2020
#include <hpx/actions/transfer_action.hpp>
2121
#include <hpx/actions_base/component_action.hpp>
22-
#include <hpx/async_base/launch_policy.hpp>
2322
#include <hpx/async_distributed/transfer_continuation_action.hpp>
2423
#include <hpx/components/client_base.hpp>
2524
#include <hpx/components_base/server/component_base.hpp>
2625
#include <hpx/components_base/server/locking_hook.hpp>
26+
#include <hpx/modules/async_base.hpp>
2727
#include <hpx/modules/preprocessor.hpp>
2828
#include <hpx/modules/tag_invoke.hpp>
2929

components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/partitioned_vector_component_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99

1010
#include <hpx/config.hpp>
1111
#include <hpx/assert.hpp>
12-
#include <hpx/async_base/launch_policy.hpp>
1312
#include <hpx/components/get_ptr.hpp>
13+
#include <hpx/modules/async_base.hpp>
1414
#include <hpx/modules/preprocessor.hpp>
1515
#include <hpx/runtime_components/component_factory.hpp>
1616

components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/partitioned_vector_decl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@
1212
#include <hpx/config.hpp>
1313
#include <hpx/actions_base/traits/is_distribution_policy.hpp>
1414
#include <hpx/assert.hpp>
15-
#include <hpx/async_base/launch_policy.hpp>
1615
#include <hpx/async_combinators/when_all.hpp>
1716
#include <hpx/components/client_base.hpp>
1817
#include <hpx/distribution_policies/container_distribution_policy.hpp>
1918
#include <hpx/distribution_policies/explicit_container_distribution_policy.hpp>
19+
#include <hpx/modules/async_base.hpp>
2020
#include <hpx/modules/functional.hpp>
2121
#include <hpx/modules/type_support.hpp>
2222
#include <hpx/runtime_components/distributed_metadata_base.hpp>

components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/partitioned_vector_impl.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010
#include <hpx/config.hpp>
1111
#include <hpx/actions_base/traits/is_distribution_policy.hpp>
1212
#include <hpx/assert.hpp>
13-
#include <hpx/async_base/launch_policy.hpp>
1413
#include <hpx/async_combinators/wait_all.hpp>
1514
#include <hpx/components/get_ptr.hpp>
1615
#include <hpx/distribution_policies/container_distribution_policy.hpp>
1716
#include <hpx/distribution_policies/explicit_container_distribution_policy.hpp>
17+
#include <hpx/modules/async_base.hpp>
1818
#include <hpx/modules/async_distributed.hpp>
1919
#include <hpx/modules/errors.hpp>
2020
#include <hpx/modules/execution.hpp>

components/containers/partitioned_vector/include/hpx/components/containers/partitioned_vector/partitioned_vector_segmented_iterator.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
#include <hpx/algorithms/traits/is_value_proxy.hpp>
1818
#include <hpx/algorithms/traits/segmented_iterator_traits.hpp>
1919
#include <hpx/assert.hpp>
20-
#include <hpx/async_base/launch_policy.hpp>
20+
#include <hpx/modules/async_base.hpp>
2121
#include <hpx/modules/iterator_support.hpp>
2222
#include <hpx/naming_base/id_type.hpp>
2323

0 commit comments

Comments
 (0)