satacker

Untitled

Feb 28th, 2023
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.81 KB | None | 0 0
  1. [satacker@medusa00 build]$ ninja -j1
  2. [65/256] Building CXX object examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o
  3. FAILED: examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o
  4. /opt/apps/llvm/14.0.4/bin/clang++ -DHPX_APPLICATION_EXPORTS -DHPX_APPLICATION_NAME=1d_stencil_channel -DHPX_APPLICATION_NAME_DEFAULT=1d_stencil_channel -DHPX_APPLICATION_STRING=\"1d_stencil_channel\" -DHPX_PREFIX_DEFAULT=\"/usr/local\" -DNDEBUG -D_GNU_SOURCE -I../ -I. -I../libs/full/actions/include -Ilibs/full/actions/include -Ilibs/full/actions/include_compatibility -I../libs/full/actions_base/include -Ilibs/full/actions_base/include -Ilibs/full/actions_base/include_compatibility -I../libs/full/agas/include -Ilibs/full/agas/include -Ilibs/full/agas/include_compatibility -I../libs/full/agas_base/include -Ilibs/full/agas_base/include -Ilibs/full/agas_base/include_compatibility -I../libs/full/async_colocated/include -Ilibs/full/async_colocated/include -Ilibs/full/async_colocated/include_compatibility -I../libs/full/async_distributed/include -Ilibs/full/async_distributed/include -Ilibs/full/async_distributed/include_compatibility -I../libs/full/checkpoint/include -Ilibs/full/checkpoint/include -Ilibs/full/checkpoint/include_compatibility -I../libs/full/checkpoint_base/include -Ilibs/full/checkpoint_base/include -I../libs/full/collectives/include -Ilibs/full/collectives/include -Ilibs/full/collectives/include_compatibility -I../libs/full/command_line_handling/include -Ilibs/full/command_line_handling/include -Ilibs/full/command_line_handling/include_compatibility -I../libs/full/components/include -Ilibs/full/components/include -Ilibs/full/components/include_compatibility -I../libs/full/components_base/include -Ilibs/full/components_base/include -Ilibs/full/components_base/include_compatibility -I../libs/full/compute/include -Ilibs/full/compute/include -Ilibs/full/compute/include_compatibility -I../libs/full/distribution_policies/include -Ilibs/full/distribution_policies/include -Ilibs/full/distribution_policies/include_compatibility -I../libs/full/executors_distributed/include -Ilibs/full/executors_distributed/include -Ilibs/full/executors_distributed/include_compatibility -I../libs/full/include/include -Ilibs/full/include/include -I../libs/full/init_runtime/include -Ilibs/full/init_runtime/include -I../libs/full/lcos_distributed/include -Ilibs/full/lcos_distributed/include -Ilibs/full/lcos_distributed/include_compatibility -I../libs/full/naming/include -Ilibs/full/naming/include -Ilibs/full/naming/include_compatibility -I../libs/full/naming_base/include -Ilibs/full/naming_base/include -Ilibs/full/naming_base/include_compatibility -I../libs/full/parcelport_tcp/include -Ilibs/full/parcelport_tcp/include -I../libs/full/parcelset/include -Ilibs/full/parcelset/include -Ilibs/full/parcelset/include_compatibility -I../libs/full/parcelset_base/include -Ilibs/full/parcelset_base/include -Ilibs/full/parcelset_base/include_compatibility -I../libs/full/performance_counters/include -Ilibs/full/performance_counters/include -I../libs/full/plugin_factories/include -Ilibs/full/plugin_factories/include -Ilibs/full/plugin_factories/include_compatibility -I../libs/full/resiliency_distributed/include -Ilibs/full/resiliency_distributed/include -I../libs/full/runtime_components/include -Ilibs/full/runtime_components/include -Ilibs/full/runtime_components/include_compatibility -I../libs/full/runtime_distributed/include -Ilibs/full/runtime_distributed/include -Ilibs/full/runtime_distributed/include_compatibility -I../libs/full/segmented_algorithms/include -Ilibs/full/segmented_algorithms/include -Ilibs/full/segmented_algorithms/include_compatibility -I../libs/full/statistics/include -Ilibs/full/statistics/include -Ilibs/full/statistics/include_compatibility -I../libs/core/affinity/include -Ilibs/core/affinity/include -Ilibs/core/affinity/include_compatibility -I../libs/core/algorithms/include -Ilibs/core/algorithms/include -Ilibs/core/algorithms/include_compatibility -I../libs/core/allocator_support/include -Ilibs/core/allocator_support/include -Ilibs/core/allocator_support/include_compatibility -I../libs/core/asio/include -Ilibs/core/asio/include -Ilibs/core/asio/include_compatibility -I../libs/core/assertion/include -Ilibs/core/assertion/include -Ilibs/core/assertion/include_compatibility -I../libs/core/async_base/include -Ilibs/core/async_base/include -Ilibs/core/async_base/include_compatibility -I../libs/core/async_combinators/include -Ilibs/core/async_combinators/include -Ilibs/core/async_combinators/include_compatibility -I../libs/core/async_local/include -Ilibs/core/async_local/include -I../libs/core/batch_environments/include -Ilibs/core/batch_environments/include -Ilibs/core/batch_environments/include_compatibility -I../libs/core/cache/include -Ilibs/core/cache/include -Ilibs/core/cache/include_compatibility -I../libs/core/command_line_handling_local/include -Ilibs/core/command_line_handling_local/include -I../libs/core/compute_local/include -Ilibs/core/compute_local/include -Ilibs/core/compute_local/include_compatibility -I../libs/core/concepts/include -Ilibs/core/concepts/include -Ilibs/core/concepts/include_compatibility -I../libs/core/concurrency/include -Ilibs/core/concurrency/include -Ilibs/core/concurrency/include_compatibility -I../libs/core/config/include -Ilibs/core/config/include -I../libs/core/config_registry/include -Ilibs/core/config_registry/include -I../libs/core/coroutines/include -Ilibs/core/coroutines/include -Ilibs/core/coroutines/include_compatibility -I../libs/core/datastructures/include -Ilibs/core/datastructures/include -Ilibs/core/datastructures/include_compatibility -I../libs/core/debugging/include -Ilibs/core/debugging/include -Ilibs/core/debugging/include_compatibility -I../libs/core/errors/include -Ilibs/core/errors/include -Ilibs/core/errors/include_compatibility -I../libs/core/execution/include -Ilibs/core/execution/include -Ilibs/core/execution/include_compatibility -I../libs/core/execution_base/include -Ilibs/core/execution_base/include -Ilibs/core/execution_base/include_compatibility -I../libs/core/executors/include -Ilibs/core/executors/include -Ilibs/core/executors/include_compatibility -I../libs/core/filesystem/include -Ilibs/core/filesystem/include -Ilibs/core/filesystem/include_compatibility -I../libs/core/format/include -Ilibs/core/format/include -Ilibs/core/format/include_compatibility -I../libs/core/functional/include -Ilibs/core/functional/include -Ilibs/core/functional/include_compatibility -I../libs/core/futures/include -Ilibs/core/futures/include -Ilibs/core/futures/include_compatibility -I../libs/core/hardware/include -Ilibs/core/hardware/include -Ilibs/core/hardware/include_compatibility -I../libs/core/hashing/include -Ilibs/core/hashing/include -Ilibs/core/hashing/include_compatibility -I../libs/core/include_local/include -Ilibs/core/include_local/include -I../libs/core/ini/include -Ilibs/core/ini/include -I../libs/core/init_runtime_local/include -Ilibs/core/init_runtime_local/include -I../libs/core/io_service/include -Ilibs/core/io_service/include -Ilibs/core/io_service/include_compatibility -I../libs/core/iterator_support/include -Ilibs/core/iterator_support/include -Ilibs/core/iterator_support/include_compatibility -I../libs/core/itt_notify/include -Ilibs/core/itt_notify/include -Ilibs/core/itt_notify/include_compatibility -I../libs/core/lcos_local/include -Ilibs/core/lcos_local/include -Ilibs/core/lcos_local/include_compatibility -I../libs/core/lock_registration/include -Ilibs/core/lock_registration/include -I../libs/core/logging/include -Ilibs/core/logging/include -Ilibs/core/logging/include_compatibility -I../libs/core/memory/include -Ilibs/core/memory/include -Ilibs/core/memory/include_compatibility -I../libs/core/pack_traversal/include -Ilibs/core/pack_traversal/include -Ilibs/core/pack_traversal/include_compatibility -I../libs/core/plugin/include -Ilibs/core/plugin/include -Ilibs/core/plugin/include_compatibility -I../libs/core/prefix/include -Ilibs/core/prefix/include -Ilibs/core/prefix/include_compatibility -I../libs/core/preprocessor/include -Ilibs/core/preprocessor/include -Ilibs/core/preprocessor/include_compatibility -I../libs/core/program_options/include -Ilibs/core/program_options/include -I../libs/core/properties/include -Ilibs/core/properties/include -I../libs/core/resiliency/include -Ilibs/core/resiliency/include -I../libs/core/resource_partitioner/include -Ilibs/core/resource_partitioner/include -Ilibs/core/resource_partitioner/include_compatibility -I../libs/core/runtime_configuration/include -Ilibs/core/runtime_configuration/include -Ilibs/core/runtime_configuration/include_compatibility -I../libs/core/runtime_local/include -Ilibs/core/runtime_local/include -Ilibs/core/runtime_local/include_compatibility -I../libs/core/schedulers/include -Ilibs/core/schedulers/include -Ilibs/core/schedulers/include_compatibility -I../libs/core/serialization/include -Ilibs/core/serialization/include -Ilibs/core/serialization/include_compatibility -I../libs/core/static_reinit/include -Ilibs/core/static_reinit/include -Ilibs/core/static_reinit/include_compatibility -I../libs/core/string_util/include -Ilibs/core/string_util/include -I../libs/core/synchronization/include -Ilibs/core/synchronization/include -Ilibs/core/synchronization/include_compatibility -I../libs/core/tag_invoke/include -Ilibs/core/tag_invoke/include -Ilibs/core/tag_invoke/include_compatibility -I../libs/core/testing/include -Ilibs/core/testing/include -Ilibs/core/testing/include_compatibility -I../libs/core/thread_pool_util/include -Ilibs/core/thread_pool_util/include -I../libs/core/thread_pools/include -Ilibs/core/thread_pools/include -Ilibs/core/thread_pools/include_compatibility -I../libs/core/thread_support/include -Ilibs/core/thread_support/include -Ilibs/core/thread_support/include_compatibility -I../libs/core/threading/include -Ilibs/core/threading/include -Ilibs/core/threading/include_compatibility -I../libs/core/threading_base/include -Ilibs/core/threading_base/include -Ilibs/core/threading_base/include_compatibility -I../libs/core/threadmanager/include -Ilibs/core/threadmanager/include -Ilibs/core/threadmanager/include_compatibility -I../libs/core/timed_execution/include -Ilibs/core/timed_execution/include -Ilibs/core/timed_execution/include_compatibility -I../libs/core/timing/include -Ilibs/core/timing/include -Ilibs/core/timing/include_compatibility -I../libs/core/topology/include -Ilibs/core/topology/include -Ilibs/core/topology/include_compatibility -I../libs/core/type_support/include -Ilibs/core/type_support/include -Ilibs/core/type_support/include_compatibility -I../libs/core/util/include -Ilibs/core/util/include -Ilibs/core/util/include_compatibility -I../libs/core/version/include -Ilibs/core/version/include -I../init/include -I../wrap/include -isystem /opt/apps/llvm14/boost/1.79.0/release -isystem _deps/asio-src/asio/include -stdlib=libc++ -O3 -DNDEBUG -pthread -Wall -Wextra -Wpedantic -Wno-strict-aliasing -Wno-sign-promo -Wno-attributes -Wno-cast-align -Wno-noexcept-type -Wformat=2 -Wno-format-nonliteral -Winit-self -Wdouble-promotion -Wcast-qual -Werror=parentheses -Werror=reorder -Werror=return-type -Werror=sequence-point -Werror=uninitialized -Werror=format -Werror=missing-braces -Werror=sign-compare -fdiagnostics-show-option -Werror=vla -std=c++20 -MD -MT examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o -MF examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o.d -o examples/1d_stencil/CMakeFiles/1d_stencil_channel.dir/1d_stencil_channel.cpp.o -c ../examples/1d_stencil/1d_stencil_channel.cpp
  5. In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:16:
  6. In file included from ../examples/1d_stencil/stencil.hpp:11:
  7. In file included from ../libs/full/include/include/hpx/include/compute.hpp:10:
  8. In file included from ../libs/full/compute/include/hpx/compute/host.hpp:11:
  9. In file included from ../libs/full/compute/include/hpx/compute/host/distributed_target.hpp:15:
  10. In file included from ../libs/full/compute/include/hpx/compute/host/get_targets.hpp:14:
  11. In file included from libs/core/compute_local/include/hpx/modules/compute_local.hpp:14:
  12. In file included from ../libs/core/compute_local/include/hpx/compute_local/host.hpp:11:
  13. In file included from ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:25:
  14. In file included from ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:418:
  15. ../libs/core/algorithms/include/hpx/parallel/algorithms/for_each.hpp:524:17: error: 'decltype(auto)' in return type deduced as 'hpx::execution::experimental::detail::then_sender<std::vector<hpx::future<void>>, (lambda at ../libs/core/algorithms/include/hpx/parallel/util/foreach_partitioner.hpp:164:21)>' here but deduced as 'hpx::util::counting_iterator<unsigned long>' in earlier return statement
  16. return result_t::get(util::foreach_partitioner<ExPolicy>::call(
  17. ^
  18. ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:180:46: note: in instantiation of function template specialization 'hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>::parallel<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
  19. using result = decltype(Derived::parallel(
  20. ^
  21. ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:201:20: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call2<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
  22. return call2(HPX_FORWARD(ExPolicy, policy), is_seq(),
  23. ^
  24. ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:540:64: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
  25. return parallel::detail::for_each<iterator_type>().call(
  26. ^
  27. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:133:33: note: in instantiation of function template specialization 'hpx::ranges::tag_fallback_invoke<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity, 42, 0>' requested here
  28. -> decltype(tag_fallback_invoke(
  29. ^
  30. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:28:17: note: while substituting deduced template arguments into function template 'operator()' [with Tag = hpx::ranges::for_each_t, Ts = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>]
  31. HPX_INVOKE(std::declval<F>(), std::declval<Ts>()...))>>
  32. ^
  33. ../libs/core/tag_invoke/include/hpx/functional/detail/invoke.hpp:141:6: note: expanded from macro 'HPX_INVOKE'
  34. (::hpx::util::detail::invoke<decltype((F))>(F)(__VA_ARGS__))
  35. ^
  36. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: during template argument deduction for class template partial specialization 'invoke_result_impl<F (Ts...)>' [with F = const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&, Ts = <hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>]
  37. struct invoke_result : detail::invoke_result_impl<F && (Ts && ...)>
  38. ^
  39. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: in instantiation of template class 'hpx::util::detail::invoke_result_impl<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&(hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&)>' requested here
  40. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:220:5: note: in instantiation of template class 'hpx::util::invoke_result<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t, hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>' requested here
  41. using tag_fallback_invoke_result_t =
  42. ^
  43. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:293:24: note: in instantiation of template type alias 'tag_fallback_invoke_result_t' requested here
  44. -> tag_fallback_invoke_result_t<Tag, Args&&...>
  45. ^
  46. ../examples/1d_stencil/1d_stencil_channel.cpp:140:30: note: while substituting deduced template arguments into function template 'operator()' [with Args = <rebound_type &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>, $1 = (no value)]
  47. hpx::ranges::for_each(
  48. ^
  49. In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:15:
  50. In file included from ../examples/1d_stencil/communicator.hpp:10:
  51. In file included from ../libs/full/include/include/hpx/include/lcos.hpp:22:
  52. In file included from ../libs/full/collectives/include/hpx/collectives/reduce.hpp:226:
  53. In file included from ../libs/core/algorithms/include/hpx/parallel/algorithms/reduce.hpp:362:
  54. ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:191:44: error: no matching function for call to 'parallel'
  55. return result_handler::get(Derived::parallel(
  56. ^~~~~~~~~~~~~~~~~
  57. ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:201:20: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call2<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
  58. return call2(HPX_FORWARD(ExPolicy, policy), is_seq(),
  59. ^
  60. ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:540:64: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity>' requested here
  61. return parallel::detail::for_each<iterator_type>().call(
  62. ^
  63. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:133:33: note: in instantiation of function template specialization 'hpx::ranges::tag_fallback_invoke<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), hpx::identity, 42, 0>' requested here
  64. -> decltype(tag_fallback_invoke(
  65. ^
  66. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:28:17: note: while substituting deduced template arguments into function template 'operator()' [with Tag = hpx::ranges::for_each_t, Ts = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>]
  67. HPX_INVOKE(std::declval<F>(), std::declval<Ts>()...))>>
  68. ^
  69. ../libs/core/tag_invoke/include/hpx/functional/detail/invoke.hpp:141:6: note: expanded from macro 'HPX_INVOKE'
  70. (::hpx::util::detail::invoke<decltype((F))>(F)(__VA_ARGS__))
  71. ^
  72. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: during template argument deduction for class template partial specialization 'invoke_result_impl<F (Ts...)>' [with F = const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&, Ts = <hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>]
  73. struct invoke_result : detail::invoke_result_impl<F && (Ts && ...)>
  74. ^
  75. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: in instantiation of template class 'hpx::util::detail::invoke_result_impl<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&(hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&)>' requested here
  76. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:220:5: note: in instantiation of template class 'hpx::util::invoke_result<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t, hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>' requested here
  77. using tag_fallback_invoke_result_t =
  78. ^
  79. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:293:24: note: in instantiation of template type alias 'tag_fallback_invoke_result_t' requested here
  80. -> tag_fallback_invoke_result_t<Tag, Args&&...>
  81. ^
  82. ../examples/1d_stencil/1d_stencil_channel.cpp:140:30: note: while substituting deduced template arguments into function template 'operator()' [with Args = <rebound_type &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>, $1 = (no value)]
  83. hpx::ranges::for_each(
  84. ^
  85. ../libs/core/algorithms/include/hpx/parallel/algorithms/for_each.hpp:503:35: note: candidate template ignored: substitution failure [with ExPolicy = hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, FwdIterB = hpx::util::counting_iterator<unsigned long>, FwdIterE = hpx::util::counting_iterator<unsigned long>, F = (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28), Proj = hpx::identity]
  86. static decltype(auto) parallel(ExPolicy&& policy, FwdIterB first,
  87. ^
  88. ../examples/1d_stencil/1d_stencil_channel.cpp:140:9: error: no matching function for call to object of type 'const struct for_each_t'
  89. hpx::ranges::for_each(
  90. ^~~~~~~~~~~~~~~~~~~~~
  91. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:275:60: note: candidate template ignored: requirement 'is_tag_invocable_v<hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<hpx::parallel::execution::restricted_policy_executor<hpx::launch>>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>' was not satisfied [with Args = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>]
  92. HPX_HOST_DEVICE HPX_FORCEINLINE constexpr auto operator()(
  93. ^
  94. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:290:60: note: candidate template ignored: substitution failure [with Args = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28)>, $1 = void]: no type named 'type' in 'hpx::util::invoke_result<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t, hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../examples/1d_stencil/1d_stencil_channel.cpp:141:28) &&>'
  95. HPX_HOST_DEVICE HPX_FORCEINLINE constexpr auto operator()(
  96. ^
  97. In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:16:
  98. In file included from ../examples/1d_stencil/stencil.hpp:11:
  99. In file included from ../libs/full/include/include/hpx/include/compute.hpp:10:
  100. In file included from ../libs/full/compute/include/hpx/compute/host.hpp:11:
  101. In file included from ../libs/full/compute/include/hpx/compute/host/distributed_target.hpp:15:
  102. In file included from ../libs/full/compute/include/hpx/compute/host/get_targets.hpp:14:
  103. In file included from libs/core/compute_local/include/hpx/modules/compute_local.hpp:14:
  104. In file included from ../libs/core/compute_local/include/hpx/compute_local/host.hpp:11:
  105. In file included from ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:25:
  106. In file included from ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:418:
  107. ../libs/core/algorithms/include/hpx/parallel/algorithms/for_each.hpp:524:17: error: 'decltype(auto)' in return type deduced as 'hpx::execution::experimental::detail::then_sender<std::vector<hpx::future<void>>, (lambda at ../libs/core/algorithms/include/hpx/parallel/util/foreach_partitioner.hpp:164:21)>' here but deduced as 'hpx::util::counting_iterator<unsigned long>' in earlier return statement
  108. return result_t::get(util::foreach_partitioner<ExPolicy>::call(
  109. ^
  110. ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:180:46: note: in instantiation of function template specialization 'hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>::parallel<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
  111. using result = decltype(Derived::parallel(
  112. ^
  113. ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:201:20: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call2<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
  114. return call2(HPX_FORWARD(ExPolicy, policy), is_seq(),
  115. ^
  116. ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:540:64: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
  117. return parallel::detail::for_each<iterator_type>().call(
  118. ^
  119. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:133:33: note: in instantiation of function template specialization 'hpx::ranges::tag_fallback_invoke<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity, 42, 0>' requested here
  120. -> decltype(tag_fallback_invoke(
  121. ^
  122. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:28:17: note: while substituting deduced template arguments into function template 'operator()' [with Tag = hpx::ranges::for_each_t, Ts = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21)>]
  123. HPX_INVOKE(std::declval<F>(), std::declval<Ts>()...))>>
  124. ^
  125. ../libs/core/tag_invoke/include/hpx/functional/detail/invoke.hpp:141:6: note: expanded from macro 'HPX_INVOKE'
  126. (::hpx::util::detail::invoke<decltype((F))>(F)(__VA_ARGS__))
  127. ^
  128. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: (skipping 5 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  129. struct invoke_result : detail::invoke_result_impl<F && (Ts && ...)>
  130. ^
  131. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:202:23: note: in instantiation of function template specialization 'hpx::compute::host::detail::policy_allocator<double, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size>, void>::bulk_destroy<double>' requested here
  132. alloc.bulk_destroy(p, count);
  133. ^
  134. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:211:27: note: in instantiation of function template specialization 'hpx::compute::traits::detail::bulk_destroy::call<hpx::compute::host::block_allocator<double>>' requested here
  135. bulk_destroy::call(0, alloc, p, count);
  136. ^
  137. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:295:25: note: in instantiation of function template specialization 'hpx::compute::traits::detail::call_bulk_destroy<hpx::compute::host::block_allocator<double>>' requested here
  138. detail::call_bulk_destroy(alloc, p, count);
  139. ^
  140. ../libs/core/compute_local/include/hpx/compute_local/vector.hpp:157:31: note: in instantiation of member function 'hpx::compute::traits::allocator_traits<hpx::compute::host::block_allocator<double>>::bulk_destroy' requested here
  141. alloc_traits::bulk_destroy(alloc_, data_, size_);
  142. ^
  143. /opt/apps/llvm/14.0.4/bin/../include/c++/v1/array:129:29: note: in instantiation of member function 'hpx::compute::vector<double, hpx::compute::host::block_allocator<double>>::~vector' requested here
  144. struct _LIBCPP_TEMPLATE_VIS array
  145. ^
  146. In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:15:
  147. In file included from ../examples/1d_stencil/communicator.hpp:10:
  148. In file included from ../libs/full/include/include/hpx/include/lcos.hpp:22:
  149. In file included from ../libs/full/collectives/include/hpx/collectives/reduce.hpp:226:
  150. In file included from ../libs/core/algorithms/include/hpx/parallel/algorithms/reduce.hpp:362:
  151. ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:191:44: error: no matching function for call to 'parallel'
  152. return result_handler::get(Derived::parallel(
  153. ^~~~~~~~~~~~~~~~~
  154. ../libs/core/algorithms/include/hpx/parallel/algorithms/detail/dispatch.hpp:201:20: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call2<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
  155. return call2(HPX_FORWARD(ExPolicy, policy), is_seq(),
  156. ^
  157. ../libs/core/algorithms/include/hpx/parallel/container_algorithms/for_each.hpp:540:64: note: in instantiation of function template specialization 'hpx::parallel::detail::algorithm<hpx::parallel::detail::for_each<hpx::util::counting_iterator<unsigned long>>, hpx::util::counting_iterator<unsigned long>>::call<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_iterator<unsigned long>, hpx::util::counting_iterator<unsigned long>, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity>' requested here
  158. return parallel::detail::for_each<iterator_type>().call(
  159. ^
  160. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:133:33: note: in instantiation of function template specialization 'hpx::ranges::tag_fallback_invoke<hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), hpx::identity, 42, 0>' requested here
  161. -> decltype(tag_fallback_invoke(
  162. ^
  163. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:28:17: note: while substituting deduced template arguments into function template 'operator()' [with Tag = hpx::ranges::for_each_t, Ts = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21)>]
  164. HPX_INVOKE(std::declval<F>(), std::declval<Ts>()...))>>
  165. ^
  166. ../libs/core/tag_invoke/include/hpx/functional/detail/invoke.hpp:141:6: note: expanded from macro 'HPX_INVOKE'
  167. (::hpx::util::detail::invoke<decltype((F))>(F)(__VA_ARGS__))
  168. ^
  169. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: during template argument deduction for class template partial specialization 'invoke_result_impl<F (Ts...)>' [with F = const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t &&, Ts = <hpx::ranges::for_each_t &&, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21) &&>]
  170. struct invoke_result : detail::invoke_result_impl<F && (Ts && ...)>
  171. ^
  172. ../libs/core/tag_invoke/include/hpx/functional/invoke_result.hpp:38:28: note: (skipping 4 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
  173. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:202:23: note: in instantiation of function template specialization 'hpx::compute::host::detail::policy_allocator<double, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size>, void>::bulk_destroy<double>' requested here
  174. alloc.bulk_destroy(p, count);
  175. ^
  176. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:211:27: note: in instantiation of function template specialization 'hpx::compute::traits::detail::bulk_destroy::call<hpx::compute::host::block_allocator<double>>' requested here
  177. bulk_destroy::call(0, alloc, p, count);
  178. ^
  179. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:295:25: note: in instantiation of function template specialization 'hpx::compute::traits::detail::call_bulk_destroy<hpx::compute::host::block_allocator<double>>' requested here
  180. detail::call_bulk_destroy(alloc, p, count);
  181. ^
  182. ../libs/core/compute_local/include/hpx/compute_local/vector.hpp:157:31: note: in instantiation of member function 'hpx::compute::traits::allocator_traits<hpx::compute::host::block_allocator<double>>::bulk_destroy' requested here
  183. alloc_traits::bulk_destroy(alloc_, data_, size_);
  184. ^
  185. /opt/apps/llvm/14.0.4/bin/../include/c++/v1/array:129:29: note: in instantiation of member function 'hpx::compute::vector<double, hpx::compute::host::block_allocator<double>>::~vector' requested here
  186. struct _LIBCPP_TEMPLATE_VIS array
  187. ^
  188. ../libs/core/algorithms/include/hpx/parallel/algorithms/for_each.hpp:503:35: note: candidate template ignored: substitution failure [with ExPolicy = hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, FwdIterB = hpx::util::counting_iterator<unsigned long>, FwdIterE = hpx::util::counting_iterator<unsigned long>, F = (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21), Proj = hpx::identity]
  189. static decltype(auto) parallel(ExPolicy&& policy, FwdIterB first,
  190. ^
  191. In file included from ../examples/1d_stencil/1d_stencil_channel.cpp:16:
  192. In file included from ../examples/1d_stencil/stencil.hpp:11:
  193. In file included from ../libs/full/include/include/hpx/include/compute.hpp:10:
  194. In file included from ../libs/full/compute/include/hpx/compute/host.hpp:11:
  195. In file included from ../libs/full/compute/include/hpx/compute/host/distributed_target.hpp:15:
  196. In file included from ../libs/full/compute/include/hpx/compute/host/get_targets.hpp:14:
  197. In file included from libs/core/compute_local/include/hpx/modules/compute_local.hpp:14:
  198. In file included from ../libs/core/compute_local/include/hpx/compute_local/host.hpp:11:
  199. ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:218:17: error: no matching function for call to object of type 'const struct for_each_t'
  200. hpx::ranges::for_each(policy_, irange,
  201. ^~~~~~~~~~~~~~~~~~~~~
  202. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:202:23: note: in instantiation of function template specialization 'hpx::compute::host::detail::policy_allocator<double, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size>, void>::bulk_destroy<double>' requested here
  203. alloc.bulk_destroy(p, count);
  204. ^
  205. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:211:27: note: in instantiation of function template specialization 'hpx::compute::traits::detail::bulk_destroy::call<hpx::compute::host::block_allocator<double>>' requested here
  206. bulk_destroy::call(0, alloc, p, count);
  207. ^
  208. ../libs/core/compute_local/include/hpx/compute_local/traits/allocator_traits.hpp:295:25: note: in instantiation of function template specialization 'hpx::compute::traits::detail::call_bulk_destroy<hpx::compute::host::block_allocator<double>>' requested here
  209. detail::call_bulk_destroy(alloc, p, count);
  210. ^
  211. ../libs/core/compute_local/include/hpx/compute_local/vector.hpp:157:31: note: in instantiation of member function 'hpx::compute::traits::allocator_traits<hpx::compute::host::block_allocator<double>>::bulk_destroy' requested here
  212. alloc_traits::bulk_destroy(alloc_, data_, size_);
  213. ^
  214. /opt/apps/llvm/14.0.4/bin/../include/c++/v1/array:129:29: note: in instantiation of member function 'hpx::compute::vector<double, hpx::compute::host::block_allocator<double>>::~vector' requested here
  215. struct _LIBCPP_TEMPLATE_VIS array
  216. ^
  217. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:275:60: note: candidate template ignored: requirement 'is_tag_invocable_v<hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<hpx::parallel::execution::restricted_policy_executor<hpx::launch>>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21) &&>' was not satisfied [with Args = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21)>]
  218. HPX_HOST_DEVICE HPX_FORCEINLINE constexpr auto operator()(
  219. ^
  220. ../libs/core/tag_invoke/include/hpx/functional/detail/tag_fallback_invoke.hpp:290:60: note: candidate template ignored: substitution failure [with Args = <hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21)>, $1 = void]: no type named 'type' in 'hpx::util::invoke_result<const hpx::functional::detail::tag_fallback_invoke_t_ns::tag_fallback_invoke_t, hpx::ranges::for_each_t, hpx::execution::detail::parallel_policy_shim<hpx::compute::host::block_executor<>, hpx::execution::experimental::static_chunk_size> &, hpx::util::counting_shape<unsigned long> &, (lambda at ../libs/core/compute_local/include/hpx/compute_local/host/block_allocator.hpp:219:21) &&>'
  221. HPX_HOST_DEVICE HPX_FORCEINLINE constexpr auto operator()(
  222. ^
  223. 6 errors generated.
  224. ninja: build stopped: subcommand failed.
  225. [satacker@medusa00 build]$
  226.  
  227.  
Advertisement
Add Comment
Please, Sign In to add comment