Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HPX test_gpu executable won't build with cuda or rocm variant #75

Open
wspear opened this issue Aug 16, 2024 · 10 comments
Open

HPX test_gpu executable won't build with cuda or rocm variant #75

wspear opened this issue Aug 16, 2024 · 10 comments

Comments

@wspear
Copy link
Collaborator

wspear commented Aug 16, 2024

The test_gpu.cpp example included in the testsuite builds with a non-gpu variant of hpx, but it fails with both rocm and cuda variants. There are cuda specific api calls in the code so I'm not surprised rocm fails (and I'm not sure how the non-cuda build is able to succeed). Could we get an updated test that can either handle both accelerator types, or get a working version for cuda and a new version for rocm? I didn't spot any existing test codes for hpx+gpus floating around in the hpx repo but if they exist I could import them to the testsuite myself.

This is observed with the current (24.05) e4s release which uses [email protected]. We should be at 1.10 for the next release so it's probably fine to target that if the implementations would be mutually exclusive.

@msimberg @hkaiser

ROCM variant error output

[ 62%] Building CXX object CMakeFiles/test_gpu.dir/test_gpu.cpp.o
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:25:8: error: no member named 'cuda' in namespace 'hpx'
  hpx::cuda::experimental::target target;
  ~~~~~^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:26:8: error: no member named 'cuda' in namespace 'hpx'
  hpx::cuda::experimental::allocator<std::uint64_t> alloc(target);
  ~~~~~^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:26:51: error: expected '(' for function-style cast or type construction
  hpx::cuda::experimental::allocator<std::uint64_t> alloc(target);
                                     ~~~~~~~~~~~~~^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:27:8: error: no member named 'cuda' in namespace 'hpx'
  hpx::cuda::experimental::default_executor exec(target);
  ~~~~~^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:30:48: error: use of undeclared identifier 'alloc'
  hpx::compute::vector<std::uint64_t, decltype(alloc)> A_device(n, alloc);
                                               ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:30:68: error: use of undeclared identifier 'alloc'
  hpx::compute::vector<std::uint64_t, decltype(alloc)> A_device(n, alloc);
                                                                   ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:185:17: error: static assertion failed due to requirement 'hpx::traits::is_executor_any_v<int (*)(const char *, char *const *) noexcept>': hpx::traits::is_executor_any_v<Executor>
                static_assert(
                ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(const char *, char *const *) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:16:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:71:9: error: static assertion failed due to requirement 'detail::is_not_weaker_v<hpx::execution::unsequenced_execution_tag, hpx::execution::parallel_execution_tag>': detail::is_not_weaker_v<category2, category1>
        static_assert(detail::is_not_weaker_v<category2, category1>,
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:81:5: note: in instantiation of template class 'hpx::parallel::execution::rebind_executor<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(const char *, char *const *) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
    using rebind_executor_t =
    ^
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:92:17: note: in instantiation of template type alias 'rebind_executor_t' requested here
                rebind_executor_t<ExPolicy, Executor, Parameters>;
                ^
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:189:24: note: in instantiation of function template specialization 'hpx::parallel::execution::create_rebound_policy_t::operator()<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(const char *, char *const *) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
                return hpx::parallel::execution::create_rebound_policy(
                       ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(const char *, char *const *) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:16:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:94:20: error: excess elements in scalar initializer
            return rebound_type(HPX_FORWARD(Executor, exec),
                   ^                                       ~
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:189:24: note: in instantiation of function template specialization 'hpx::parallel::execution::create_rebound_policy_t::operator()<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(const char *, char *const *) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
                return hpx::parallel::execution::create_rebound_policy(
                       ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(const char *, char *const *) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:185:17: error: static assertion failed due to requirement 'hpx::traits::is_executor_any_v<int (*)(char **, int, const char *, const char *, const char *, int *)>': hpx::traits::is_executor_any_v<Executor>
                static_assert(
                ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(char **, int, const char *, const char *, const char *, int *)>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:16:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:71:9: error: static assertion failed due to requirement 'detail::is_not_weaker_v<hpx::execution::unsequenced_execution_tag, hpx::execution::parallel_execution_tag>': detail::is_not_weaker_v<category2, category1>
        static_assert(detail::is_not_weaker_v<category2, category1>,
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:81:5: note: in instantiation of template class 'hpx::parallel::execution::rebind_executor<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(char **, int, const char *, const char *, const char *, int *), const hpx::execution::experimental::static_chunk_size &>' requested here
    using rebind_executor_t =
    ^
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:92:17: note: in instantiation of template type alias 'rebind_executor_t' requested here
                rebind_executor_t<ExPolicy, Executor, Parameters>;
                ^
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:189:24: note: in instantiation of function template specialization 'hpx::parallel::execution::create_rebound_policy_t::operator()<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(char **, int, const char *, const char *, const char *, int *), const hpx::execution::experimental::static_chunk_size &>' requested here
                return hpx::parallel::execution::create_rebound_policy(
                       ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(char **, int, const char *, const char *, const char *, int *)>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:16:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:94:20: error: excess elements in scalar initializer
            return rebound_type(HPX_FORWARD(Executor, exec),
                   ^                                       ~
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:189:24: note: in instantiation of function template specialization 'hpx::parallel::execution::create_rebound_policy_t::operator()<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(char **, int, const char *, const char *, const char *, int *), const hpx::execution::experimental::static_chunk_size &>' requested here
                return hpx::parallel::execution::create_rebound_policy(
                       ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(char **, int, const char *, const char *, const char *, int *)>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:185:17: error: static assertion failed due to requirement 'hpx::traits::is_executor_any_v<int (*)(const char *, const char *, ...) noexcept>': hpx::traits::is_executor_any_v<Executor>
                static_assert(
                ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(const char *, const char *, ...) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:16:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:71:9: error: static assertion failed due to requirement 'detail::is_not_weaker_v<hpx::execution::unsequenced_execution_tag, hpx::execution::parallel_execution_tag>': detail::is_not_weaker_v<category2, category1>
        static_assert(detail::is_not_weaker_v<category2, category1>,
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:81:5: note: in instantiation of template class 'hpx::parallel::execution::rebind_executor<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(const char *, const char *, ...) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
    using rebind_executor_t =
    ^
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:92:17: note: in instantiation of template type alias 'rebind_executor_t' requested here
                rebind_executor_t<ExPolicy, Executor, Parameters>;
                ^
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:189:24: note: in instantiation of function template specialization 'hpx::parallel::execution::create_rebound_policy_t::operator()<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(const char *, const char *, ...) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
                return hpx::parallel::execution::create_rebound_policy(
                       ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(const char *, const char *, ...) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:16:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:94:20: error: excess elements in scalar initializer
            return rebound_type(HPX_FORWARD(Executor, exec),
                   ^                                       ~
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:189:24: note: in instantiation of function template specialization 'hpx::parallel::execution::create_rebound_policy_t::operator()<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, int (&)(const char *, const char *, ...) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
                return hpx::parallel::execution::create_rebound_policy(
                       ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<int (&)(const char *, const char *, ...) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:185:17: error: static assertion failed due to requirement 'hpx::traits::is_executor_any_v<void (*)(int) __attribute__((noreturn)) noexcept>': hpx::traits::is_executor_any_v<Executor>
                static_assert(
                ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<void (&)(int) __attribute__((noreturn)) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:16:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:71:9: error: static assertion failed due to requirement 'detail::is_not_weaker_v<hpx::execution::unsequenced_execution_tag, hpx::execution::parallel_execution_tag>': detail::is_not_weaker_v<category2, category1>
        static_assert(detail::is_not_weaker_v<category2, category1>,
        ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:81:5: note: in instantiation of template class 'hpx::parallel::execution::rebind_executor<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, void (&)(int) __attribute__((noreturn)) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
    using rebind_executor_t =
    ^
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:92:17: note: in instantiation of template type alias 'rebind_executor_t' requested here
                rebind_executor_t<ExPolicy, Executor, Parameters>;
                ^
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:189:24: note: in instantiation of function template specialization 'hpx::parallel::execution::create_rebound_policy_t::operator()<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, void (&)(int) __attribute__((noreturn)) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
                return hpx::parallel::execution::create_rebound_policy(
                       ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<void (&)(int) __attribute__((noreturn)) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:16:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/execution/executors/rebind_executor.hpp:94:20: error: excess elements in scalar initializer
            return rebound_type(HPX_FORWARD(Executor, exec),
                   ^                                       ~
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:189:24: note: in instantiation of function template specialization 'hpx::parallel::execution::create_rebound_policy_t::operator()<const hpx::execution::detail::parallel_policy_shim<hpx::execution::parallel_policy_executor<hpx::launch>> &, void (&)(int) __attribute__((noreturn)) noexcept, const hpx::execution::experimental::static_chunk_size &>' requested here
                return hpx::parallel::execution::create_rebound_policy(
                       ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<void (&)(int) __attribute__((noreturn)) noexcept>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
In file included from /home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:7:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/algorithm.hpp:10:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithm.hpp:17:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/parallel/algorithms/adjacent_difference.hpp:226:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/modules/executors.hpp:19:
In file included from /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execute_on.hpp:11:
/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-efbtd3sz76z4qfxxff5hahuejdgdb2ml/include/hpx/executors/execution_policy.hpp:185:17: error: static assertion failed due to requirement 'hpx::traits::is_executor_any_v<float (*)(float)>': hpx::traits::is_executor_any_v<Executor>
                static_assert(
                ^
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-e4s-24.05-rocm-90a/validation_tests/hpx-rocm/test_gpu.cpp:36:45: note: in instantiation of function template specialization 'hpx::execution::detail::execution_policy<hpx::execution::detail::parallel_policy_shim, hpx::execution::parallel_policy_executor<hpx::launch>>::on<float (&)(float)>' requested here
  hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                            ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated when compiling for gfx90a.
gmake[2]: *** [CMakeFiles/test_gpu.dir/build.make:76: CMakeFiles/test_gpu.dir/test_gpu.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:141: CMakeFiles/test_gpu.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2

CUDA variant error output
[ 87%] Building CUDA object CMakeFiles/test_gpu.dir/test_gpu.cpp.o
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(25): error: name followed by "::" must be a class or namespace name
    hpx::cuda::experimental::target target;
         ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(25): error: expected a ";"
    hpx::cuda::experimental::target target;
                                    ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(26): error: name followed by "::" must be a class or namespace name
    hpx::cuda::experimental::allocator<std::uint64_t> alloc(target);
         ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(26): error: identifier "target" is undefined
    hpx::cuda::experimental::allocator<std::uint64_t> alloc(target);
                                                            ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(26): error: identifier "alloc" is undefined
    hpx::cuda::experimental::allocator<std::uint64_t> alloc(target);
                                                      ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(27): error: name followed by "::" must be a class or namespace name
    hpx::cuda::experimental::default_executor exec(target);
         ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(27): error: expected a ";"
    hpx::cuda::experimental::default_executor exec(target);
                                              ^

/usr/include/c++/11/bits/alloc_traits.h(95): error: a class or namespace qualified name is required
        typedef typename _Alloc::value_type value_type;
                         ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/usr/include/c++/11/bits/alloc_traits.h(95): error: global-scope qualifier (leading "::") is not allowed
        typedef typename _Alloc::value_type value_type;
                               ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/usr/include/c++/11/bits/alloc_traits.h(95): error: expected a ";"
        typedef typename _Alloc::value_type value_type;
                                            ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/usr/include/c++/11/bits/alloc_traits.h(102): error: identifier "value_type" is undefined
        using pointer = __detected_or_t<value_type*, __pointer, _Alloc>;
                                        ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/usr/include/c++/11/bits/alloc_traits.h(142): error: expected a ">"
        using const_pointer = typename _Ptr<__c_pointer, const value_type>::type;
                                                               ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/usr/include/c++/11/bits/ptr_traits.h(123): error: class "std::pointer_traits<_Ptr>::__rebind<<error-type> *, void, void> [with _Ptr=<error-type> *]" has no member "type"
          using rebind = typename __rebind<_Ptr, _Up>::type;
                                                       ^
          detected during:
            instantiation of type "std::pointer_traits<_Ptr>::rebind<void> [with _Ptr=<error-type> *]" at line 109 of /usr/include/c++/11/bits/alloc_traits.h
            instantiation of class "std::allocator_traits<_Alloc>::_Ptr<_Func, _Tp, <unnamed>> [with _Alloc=<error-type>, _Func=std::__allocator_traits_base::__v_pointer, _Tp=void, <unnamed>=void]" at line 150 of /usr/include/c++/11/bits/alloc_traits.h
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/usr/include/c++/11/bits/ptr_traits.h(123): error: class "std::pointer_traits<_Ptr>::__rebind<<error-type> *, const void, void> [with _Ptr=<error-type> *]" has no member "type"
          using rebind = typename __rebind<_Ptr, _Up>::type;
                                                       ^
          detected during:
            instantiation of type "std::pointer_traits<_Ptr>::rebind<const void> [with _Ptr=<error-type> *]" at line 109 of /usr/include/c++/11/bits/alloc_traits.h
            instantiation of class "std::allocator_traits<_Alloc>::_Ptr<_Func, _Tp, <unnamed>> [with _Alloc=<error-type>, _Func=std::__allocator_traits_base::__cv_pointer, _Tp=const void, <unnamed>=void]" at line 158 of /usr/include/c++/11/bits/alloc_traits.h
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp(264): error: class "std::allocator_traits<<error-type>>" has no member "value_type"
          using typename base_type::value_type;
                                    ^
          detected during:
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp(48): error: class "std::allocator_traits<<error-type>>" has no member "value_type"
              using type = typename std::allocator_traits<Allocator>::value_type&;
                                                                      ^
          detected during:
            instantiation of class "hpx::compute::traits::detail::get_reference_type<Allocator, Enable> [with Allocator=<error-type>, Enable=void]" at line 267
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/traits/allocator_traits.hpp(66): error: class "std::allocator_traits<<error-type>>" has no member "value_type"
                  typename std::allocator_traits<Allocator>::value_type const&;
                                                             ^
          detected during:
            instantiation of class "hpx::compute::traits::detail::get_const_reference_type<Allocator, Enable> [with Allocator=<error-type>, Enable=void]" at line 269
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 38 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/detail/iterator.hpp(26): error: class "hpx::compute::traits::allocator_traits<<error-type>>" has no member "value_type"
              typename traits::allocator_traits<Allocator>::value_type,
                                                            ^
          detected during instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/iterator_support/iterator_adaptor.hpp(33): error: class "std::iterator_traits<<error-type> *>" has no member "value_type"
              using type = typename std::iterator_traits<Iterator>::value_type;
                                                                    ^
          detected during:
            instantiation of class "hpx::util::detail::value_type_iterator_traits_helper<Iterator> [with Iterator=<error-type> *]" at line 14 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/type_support/lazy_conditional.hpp
            instantiation of class "hpx::util::lazy_conditional<Enable, C1, C2> [with Enable=false, C1=hpx::util::detail::value_type_iterator_traits_helper<<error-type> *>, C2=std::remove_reference<<error-type> &>]" at line 19 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/type_support/lazy_conditional.hpp
            instantiation of type "hpx::util::lazy_conditional_t<false, hpx::util::detail::value_type_iterator_traits_helper<<error-type> *>, std::remove_reference<<error-type> &>>" at line 68
            instantiation of class "hpx::util::detail::iterator_adaptor_base<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 120
            instantiation of class "hpx::util::iterator_adaptor<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 24 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/detail/iterator.hpp
            instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/iterator_support/iterator_adaptor.hpp(39): error: class "std::iterator_traits<<error-type> *>" has no member "reference"
              using type = typename std::iterator_traits<Iterator>::reference;
                                                                    ^
          detected during:
            instantiation of class "hpx::util::detail::reference_iterator_traits_helper<Iterator> [with Iterator=<error-type> *]" at line 14 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/type_support/lazy_conditional.hpp
            instantiation of class "hpx::util::lazy_conditional<Enable, C1, C2> [with Enable=false, C1=hpx::util::detail::reference_iterator_traits_helper<<error-type> *>, C2=std::add_lvalue_reference<<error-type>>]" at line 19 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/type_support/lazy_conditional.hpp
            instantiation of type "hpx::util::lazy_conditional_t<false, hpx::util::detail::reference_iterator_traits_helper<<error-type> *>, std::add_lvalue_reference<<error-type>>>" at line 74
            instantiation of class "hpx::util::detail::iterator_adaptor_base<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 120
            instantiation of class "hpx::util::iterator_adaptor<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 24 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/detail/iterator.hpp
            instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/iterator_support/iterator_adaptor.hpp(46): error: class "std::iterator_traits<<error-type> *>" has no member "iterator_category"
                  typename std::iterator_traits<Iterator>::iterator_category;
                                                           ^
          detected during:
            instantiation of class "hpx::util::detail::category_iterator_traits_helper<Iterator> [with Iterator=<error-type> *]" at line 14 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/type_support/lazy_conditional.hpp
            instantiation of class "hpx::util::lazy_conditional<Enable, C1, C2> [with Enable=false, C1=hpx::util::detail::category_iterator_traits_helper<<error-type> *>, C2=hpx::type_identity<std::random_access_iterator_tag>]" at line 19 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/type_support/lazy_conditional.hpp
            instantiation of type "hpx::util::lazy_conditional_t<false, hpx::util::detail::category_iterator_traits_helper<<error-type> *>, hpx::type_identity<std::random_access_iterator_tag>>" at line 80
            instantiation of class "hpx::util::detail::iterator_adaptor_base<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 120
            instantiation of class "hpx::util::iterator_adaptor<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 24 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/detail/iterator.hpp
            instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/iterator_support/iterator_adaptor.hpp(53): error: class "std::iterator_traits<<error-type> *>" has no member "difference_type"
                  typename std::iterator_traits<Iterator>::difference_type;
                                                           ^
          detected during:
            instantiation of class "hpx::util::detail::difference_type_iterator_traits_helper<Iterator> [with Iterator=<error-type> *]" at line 14 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/type_support/lazy_conditional.hpp
            instantiation of class "hpx::util::lazy_conditional<Enable, C1, C2> [with Enable=true, C1=hpx::util::detail::difference_type_iterator_traits_helper<<error-type> *>, C2=hpx::type_identity<void>]" at line 19 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/type_support/lazy_conditional.hpp
            instantiation of type "hpx::util::lazy_conditional_t<true, hpx::util::detail::difference_type_iterator_traits_helper<<error-type> *>, hpx::type_identity<void>>" at line 85
            instantiation of class "hpx::util::detail::iterator_adaptor_base<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 120
            instantiation of class "hpx::util::iterator_adaptor<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 24 of /spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/detail/iterator.hpp
            instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/spack/opt/spack/linux-ubuntu22.04-x86_64/gcc-11.4.0/hpx-1.9.1-iqhua6ztl47nz7ysyrvvqcih7e4u7jyk/include/hpx/compute_local/detail/iterator.hpp(32): error: class "hpx::compute::traits::allocator_traits<<error-type>>" has no member "value_type"
              typename traits::allocator_traits<Allocator>::value_type,
                                                            ^
          detected during instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(34): error: no instance of overloaded function "hpx::copy_t::operator()" matches the argument list
            argument types are: (const hpx::execution::parallel_policy, __gnu_cxx::__normal_iterator<std::size_t *, std::vector<std::size_t, std::allocator<std::size_t>>>, __gnu_cxx::__normal_iterator<std::size_t *, std::vector<std::size_t, std::allocator<std::size_t>>>, hpx::compute::detail::iterator<uint64_t, <error-type>>)
            object type is: const hpx::copy_t
    hpx::copy(hpx::execution::par, A_host.begin(), A_host.end(),
    ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(36): error: identifier "exec" is undefined
    hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
                                                 ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(36): error: no instance of overloaded function "hpx::ranges::for_each_t::operator()" matches the argument list
            argument types are: (<error-type>, hpx::compute::vector<uint64_t, <error-type>>, lambda [](uint64_t &)->void)
            object type is: const hpx::ranges::for_each_t
    hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
    ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp(38): error: no instance of overloaded function "hpx::copy_t::operator()" matches the argument list
            argument types are: (const hpx::execution::parallel_policy, hpx::compute::detail::iterator<uint64_t, <error-type>>, hpx::compute::detail::iterator<uint64_t, <error-type>>, __gnu_cxx::__normal_iterator<std::size_t *, std::vector<std::size_t, std::allocator<std::size_t>>>)
            object type is: const hpx::copy_t
    hpx::copy(hpx::execution::par, A_device.begin(), A_device.end(),
    ^

27 errors detected in the compilation of "/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx-cuda/test_gpu.cpp".
gmake[2]: *** [CMakeFiles/test_gpu.dir/build.make:77: CMakeFiles/test_gpu.dir/test_gpu.cpp.o] Error 2
gmake[1]: *** [CMakeFiles/Makefile2:167: CMakeFiles/test_gpu.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
@msimberg
Copy link
Contributor

The cuda namespace works for both CUDA and HIP, for historical reasons. It is a bit confusing, but that shouldn't be the issue here. I think @hkaiser can best answer how the namespaces etc. have changed recently? This is hopefully just a straightforward find-and-replace, possibly changing some includes?

@hkaiser
Copy link
Contributor

hkaiser commented Aug 19, 2024

The cuda namespace works for both CUDA and HIP, for historical reasons. It is a bit confusing, but that shouldn't be the issue here. I think @hkaiser can best answer how the namespaces etc. have changed recently? This is hopefully just a straightforward find-and-replace, possibly changing some includes?

None of the namespace that trigger the errors listed above have been changed recently. I'll have a closer look. This seems to be a configuration problem...

@hkaiser
Copy link
Contributor

hkaiser commented Aug 19, 2024

@wspear where can I see the complete build logs (including building HPX)?

@wspear
Copy link
Collaborator Author

wspear commented Aug 19, 2024

@hkaiser these builds are located in our e4s singularity container images for cuda and rocm respectively. I've put the build artifacts online here: http://nic.uoregon.edu/~wspear/hpx-spack/ Let me know if I can provide anything else or if you want me to try anything on my side.

@wspear
Copy link
Collaborator Author

wspear commented Aug 19, 2024

Regarding that HPX PR, could I make those changes to compute.hpp in an installed hpx and have it work as intended, or does the change need to be made to compute.hpp.in in the source tree before building?

@hkaiser
Copy link
Contributor

hkaiser commented Aug 19, 2024

Regarding that HPX PR, could I make those changes to compute.hpp in an installed hpx and have it work as intended, or does the change need to be made to compute.hpp.in in the source tree before building?

Locally editing should be sufficient. The patch will however only work if HPX was built with HPX_WITH_DISTRIBUTED_RUNTIME=OFF, which I assume it was.

@wspear
Copy link
Collaborator Author

wspear commented Aug 19, 2024

The spack install in our container is read-only but I saw the same issue building a local [email protected]+cuda. Manually adding the changes from the PR to include/hpx/compute.hpp with didn't seem to make a difference.

The spack package doesn't set that variable so as long as it is the default it should be fine.

@hkaiser
Copy link
Contributor

hkaiser commented Aug 21, 2024

The spack install in our container is read-only but I saw the same issue building a local [email protected]+cuda. Manually adding the changes from the PR to include/hpx/compute.hpp with didn't seem to make a difference.

The spack package doesn't set that variable so as long as it is the default it should be fine.

The default is HPX_WITH_DISTRIBUTED_RUNTIME=ON, which might explain why the change I proposed has no effect. I'll have another look at this.

@hkaiser
Copy link
Contributor

hkaiser commented Aug 21, 2024

@wspear I have pushed another commit that adds more #includes that were missing. Could you please try again?

@wspear
Copy link
Collaborator Author

wspear commented Aug 21, 2024

The installed headers didn't look quite the same as the ones in the source tree so I added the gpu block to every compute.hpp I found under include/hpx:

./include/compute.hpp
./compute.hpp
./modules/compute.hpp
./local/compute.hpp

The test code still didn't build, but it now it registers 23 errors instead of 27.

Error Output
[ 87%] Building CUDA object CMakeFiles/test_gpu.dir/test_gpu.cpp.o
/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp(26): error: namespace "hpx::cuda::experimental" has no member "allocator"
    hpx::cuda::experimental::allocator<std::uint64_t> alloc(target);
                             ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp(26): error: type name is not allowed
    hpx::cuda::experimental::allocator<std::uint64_t> alloc(target);
                                       ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp(26): error: identifier "alloc" is undefined
    hpx::cuda::experimental::allocator<std::uint64_t> alloc(target);
                                                      ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp(27): error: namespace "hpx::cuda::experimental" has no member "default_executor"
    hpx::cuda::experimental::default_executor exec(target);
                             ^

/storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h(95): error: a class or namespace qualified name is required
        typedef typename _Alloc::value_type value_type;
                         ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h(95): error: global-scope qualifier (leading "::") is not allowed
        typedef typename _Alloc::value_type value_type;
                               ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h(95): error: expected a ";"
        typedef typename _Alloc::value_type value_type;
                                            ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h(102): error: identifier "value_type" is undefined
        using pointer = __detected_or_t<value_type*, __pointer, _Alloc>;
                                        ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h(142): error: expected a ">"
        using const_pointer = typename _Ptr<__c_pointer, const value_type>::type;
                                                               ^
          detected during:
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/ptr_traits.h(179): error: class "std::__ptr_traits_impl<_Ptr, _Elt>::__rebind<<error-type> *, void, void> [with _Ptr=<error-type> *, _Elt=std::__undefined]" has no member "type"
          using rebind = typename __rebind<_Ptr, _Up>::type;
                                                       ^
          detected during:
            instantiation of type "std::__ptr_traits_impl<_Ptr, _Elt>::rebind<void> [with _Ptr=<error-type> *, _Elt=std::__undefined]" at line 109 of /storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h
            instantiation of class "std::allocator_traits<_Alloc>::_Ptr<_Func, _Tp, <unnamed>> [with _Alloc=<error-type>, _Func=std::__allocator_traits_base::__v_pointer, _Tp=void, <unnamed>=void]" at line 150 of /storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/ptr_traits.h(179): error: class "std::__ptr_traits_impl<_Ptr, _Elt>::__rebind<<error-type> *, const void, void> [with _Ptr=<error-type> *, _Elt=std::__undefined]" has no member "type"
          using rebind = typename __rebind<_Ptr, _Up>::type;
                                                       ^
          detected during:
            instantiation of type "std::__ptr_traits_impl<_Ptr, _Elt>::rebind<const void> [with _Ptr=<error-type> *, _Elt=std::__undefined]" at line 109 of /storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h
            instantiation of class "std::allocator_traits<_Alloc>::_Ptr<_Func, _Tp, <unnamed>> [with _Alloc=<error-type>, _Func=std::__allocator_traits_base::__cv_pointer, _Tp=const void, <unnamed>=void]" at line 158 of /storage/packages/cray/pe/gcc/12.2.0/snos/include/g++/bits/alloc_traits.h
            instantiation of class "std::allocator_traits<_Alloc> [with _Alloc=<error-type>]" at line 218 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp(264): error: class "std::allocator_traits<<error-type>>" has no member "value_type"
          using typename base_type::value_type;
                                    ^
          detected during:
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp(48): error: class "std::allocator_traits<<error-type>>" has no member "value_type"
              using type = typename std::allocator_traits<Allocator>::value_type&;
                                                                      ^
          detected during:
            instantiation of class "hpx::compute::traits::detail::get_reference_type<Allocator, Enable> [with Allocator=<error-type>, Enable=void]" at line 267
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/traits/allocator_traits.hpp(66): error: class "std::allocator_traits<<error-type>>" has no member "value_type"
                  typename std::allocator_traits<Allocator>::value_type const&;
                                                             ^
          detected during:
            instantiation of class "hpx::compute::traits::detail::get_const_reference_type<Allocator, Enable> [with Allocator=<error-type>, Enable=void]" at line 269
            instantiation of class "hpx::compute::traits::allocator_traits<Allocator> [with Allocator=<error-type>]" at line 37 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/vector.hpp
            instantiation of class "hpx::compute::vector<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 30 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/detail/iterator.hpp(25): error: class "hpx::compute::traits::allocator_traits<<error-type>>" has no member "value_type"
              typename traits::allocator_traits<Allocator>::value_type,
                                                            ^
          detected during instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/iterator_support/iterator_adaptor.hpp(33): error: class "std::iterator_traits<<error-type> *>" has no member "value_type"
              using type = typename std::iterator_traits<Iterator>::value_type;
                                                                    ^
          detected during:
            instantiation of class "hpx::util::detail::value_type_iterator_traits_helper<Iterator> [with Iterator=<error-type> *]" at line 14 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/type_support/lazy_conditional.hpp
            instantiation of class "hpx::util::lazy_conditional<Enable, C1, C2> [with Enable=false, C1=hpx::util::detail::value_type_iterator_traits_helper<<error-type> *>, C2=std::remove_reference<<error-type> &>]" at line 19 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/type_support/lazy_conditional.hpp
            instantiation of type "hpx::util::lazy_conditional_t<false, hpx::util::detail::value_type_iterator_traits_helper<<error-type> *>, std::remove_reference<<error-type> &>>" at line 68
            instantiation of class "hpx::util::detail::iterator_adaptor_base<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 120
            instantiation of class "hpx::util::iterator_adaptor<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 23 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/detail/iterator.hpp
            instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/iterator_support/iterator_adaptor.hpp(39): error: class "std::iterator_traits<<error-type> *>" has no member "reference"
              using type = typename std::iterator_traits<Iterator>::reference;
                                                                    ^
          detected during:
            instantiation of class "hpx::util::detail::reference_iterator_traits_helper<Iterator> [with Iterator=<error-type> *]" at line 14 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/type_support/lazy_conditional.hpp
            instantiation of class "hpx::util::lazy_conditional<Enable, C1, C2> [with Enable=false, C1=hpx::util::detail::reference_iterator_traits_helper<<error-type> *>, C2=std::add_lvalue_reference<<error-type>>]" at line 19 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/type_support/lazy_conditional.hpp
            instantiation of type "hpx::util::lazy_conditional_t<false, hpx::util::detail::reference_iterator_traits_helper<<error-type> *>, std::add_lvalue_reference<<error-type>>>" at line 74
            instantiation of class "hpx::util::detail::iterator_adaptor_base<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 120
            instantiation of class "hpx::util::iterator_adaptor<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 23 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/detail/iterator.hpp
            instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/iterator_support/iterator_adaptor.hpp(46): error: class "std::iterator_traits<<error-type> *>" has no member "iterator_category"
                  typename std::iterator_traits<Iterator>::iterator_category;
                                                           ^
          detected during:
            instantiation of class "hpx::util::detail::category_iterator_traits_helper<Iterator> [with Iterator=<error-type> *]" at line 14 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/type_support/lazy_conditional.hpp
            instantiation of class "hpx::util::lazy_conditional<Enable, C1, C2> [with Enable=false, C1=hpx::util::detail::category_iterator_traits_helper<<error-type> *>, C2=hpx::type_identity<std::random_access_iterator_tag>]" at line 19 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/type_support/lazy_conditional.hpp
            instantiation of type "hpx::util::lazy_conditional_t<false, hpx::util::detail::category_iterator_traits_helper<<error-type> *>, hpx::type_identity<std::random_access_iterator_tag>>" at line 80
            instantiation of class "hpx::util::detail::iterator_adaptor_base<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 120
            instantiation of class "hpx::util::iterator_adaptor<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 23 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/detail/iterator.hpp
            instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/iterator_support/iterator_adaptor.hpp(53): error: class "std::iterator_traits<<error-type> *>" has no member "difference_type"
                  typename std::iterator_traits<Iterator>::difference_type;
                                                           ^
          detected during:
            instantiation of class "hpx::util::detail::difference_type_iterator_traits_helper<Iterator> [with Iterator=<error-type> *]" at line 14 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/type_support/lazy_conditional.hpp
            instantiation of class "hpx::util::lazy_conditional<Enable, C1, C2> [with Enable=true, C1=hpx::util::detail::difference_type_iterator_traits_helper<<error-type> *>, C2=hpx::type_identity<void>]" at line 19 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/type_support/lazy_conditional.hpp
            instantiation of type "hpx::util::lazy_conditional_t<true, hpx::util::detail::difference_type_iterator_traits_helper<<error-type> *>, hpx::type_identity<void>>" at line 85
            instantiation of class "hpx::util::detail::iterator_adaptor_base<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 120
            instantiation of class "hpx::util::iterator_adaptor<Derived, Base, Value, Category, Reference, Difference, Pointer> [with Derived=hpx::compute::detail::iterator<uint64_t, <error-type>>, Base=<error-type> *, Value=<error-type>, Category=std::random_access_iterator_tag, Reference=<error-type> &, Difference=void, Pointer=void]" at line 23 of /home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/detail/iterator.hpp
            instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/compute_local/detail/iterator.hpp(31): error: class "hpx::compute::traits::allocator_traits<<error-type>>" has no member "value_type"
              typename traits::allocator_traits<Allocator>::value_type,
                                                            ^
          detected during instantiation of class "hpx::compute::detail::iterator<T, Allocator> [with T=uint64_t, Allocator=<error-type>]" at line 35 of /home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp(34): error: no instance of overloaded function "hpx::copy_t::operator()" matches the argument list
            argument types are: (const hpx::execution::parallel_policy, __gnu_cxx::__normal_iterator<uint64_t *, std::vector<uint64_t, std::allocator<uint64_t>>>, __gnu_cxx::__normal_iterator<uint64_t *, std::vector<uint64_t, std::allocator<uint64_t>>>, hpx::compute::detail::iterator<uint64_t, <error-type>>)
            object type is: const hpx::copy_t
    hpx::copy(hpx::execution::par, A_host.begin(), A_host.end(),
    ^
/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/functional/detail/tag_fallback_invoke.hpp(290): note #3327-D: candidate function template "hpx::functional::detail::tag_base_ns::tag_fallback<Tag, Enable>::operator()(Args &&...) const->hpx::functional::detail::tag_fallback_invoke_result_t<hpx::copy_t, Args &&...> [with Tag=hpx::copy_t, Enable=hpx::meta::constant<std::integral_constant<bool, true>>]" failed deduction
              __attribute__((host)) __attribute__((device)) inline constexpr auto operator()(
                                                                                  ^
/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/functional/detail/tag_fallback_invoke.hpp(275): note #3327-D: candidate function template "hpx::functional::detail::tag_base_ns::tag_fallback<Tag, Enable>::operator()(Args &&...) const->hpx::functional::tag_invoke_result_t<hpx::copy_t, Args &&...> [with Tag=hpx::copy_t, Enable=hpx::meta::constant<std::integral_constant<bool, true>>]" failed deduction
              __attribute__((host)) __attribute__((device)) inline constexpr auto operator()(
                                                                                  ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp(36): error: no instance of overloaded function "hpx::ranges::for_each_t::operator()" matches the argument list
            argument types are: (<error-type>, hpx::compute::vector<uint64_t, <error-type>>, lambda [](uint64_t &)->void)
            object type is: const hpx::ranges::for_each_t
    hpx::ranges::for_each(hpx::execution::par.on(exec), A_device,
    ^
/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/functional/detail/tag_fallback_invoke.hpp(290): note #3327-D: candidate function template "hpx::functional::detail::tag_base_ns::tag_fallback<Tag, Enable>::operator()(Args &&...) const->hpx::functional::detail::tag_fallback_invoke_result_t<hpx::ranges::for_each_t, Args &&...> [with Tag=hpx::ranges::for_each_t, Enable=hpx::meta::constant<std::integral_constant<bool, true>>]" failed deduction
              __attribute__((host)) __attribute__((device)) inline constexpr auto operator()(
                                                                                  ^
/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/functional/detail/tag_fallback_invoke.hpp(275): note #3327-D: candidate function template "hpx::functional::detail::tag_base_ns::tag_fallback<Tag, Enable>::operator()(Args &&...) const->hpx::functional::tag_invoke_result_t<hpx::ranges::for_each_t, Args &&...> [with Tag=hpx::ranges::for_each_t, Enable=hpx::meta::constant<std::integral_constant<bool, true>>]" failed deduction
              __attribute__((host)) __attribute__((device)) inline constexpr auto operator()(
                                                                                  ^

/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp(38): error: no instance of overloaded function "hpx::copy_t::operator()" matches the argument list
            argument types are: (const hpx::execution::parallel_policy, hpx::compute::detail::iterator<uint64_t, <error-type>>, hpx::compute::detail::iterator<uint64_t, <error-type>>, __gnu_cxx::__normal_iterator<uint64_t *, std::vector<uint64_t, std::allocator<uint64_t>>>)
            object type is: const hpx::copy_t
    hpx::copy(hpx::execution::par, A_device.begin(), A_device.end(),
    ^
/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/functional/detail/tag_fallback_invoke.hpp(290): note #3327-D: candidate function template "hpx::functional::detail::tag_base_ns::tag_fallback<Tag, Enable>::operator()(Args &&...) const->hpx::functional::detail::tag_fallback_invoke_result_t<hpx::copy_t, Args &&...> [with Tag=hpx::copy_t, Enable=hpx::meta::constant<std::integral_constant<bool, true>>]" failed deduction
              __attribute__((host)) __attribute__((device)) inline constexpr auto operator()(
                                                                                  ^
/home/users/wspear/bin/SPACK/gilgamesh/spack/opt/spack/linux-rhel8-zen3/gcc-12.2.0/hpx-1.10.0-q6i2temq7mh6uc2ykz5x7q77szfwwmcp/include/hpx/functional/detail/tag_fallback_invoke.hpp(275): note #3327-D: candidate function template "hpx::functional::detail::tag_base_ns::tag_fallback<Tag, Enable>::operator()(Args &&...) const->hpx::functional::tag_invoke_result_t<hpx::copy_t, Args &&...> [with Tag=hpx::copy_t, Enable=hpx::meta::constant<std::integral_constant<bool, true>>]" failed deduction
              __attribute__((host)) __attribute__((device)) inline constexpr auto operator()(
                                                                                  ^

23 errors detected in the compilation of "/home/users/wspear/gilgamesh-e4s-24.05/testsuite-cuda90-x86_64_24.05/validation_tests/hpx/test_gpu.cpp".
gmake[2]: *** [CMakeFiles/test_gpu.dir/build.make:77: CMakeFiles/test_gpu.dir/test_gpu.cpp.o] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants