From 74ea48d5091260c9f650b66bc4348723fac08f2e Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Mon, 19 Aug 2024 10:15:05 -0500 Subject: [PATCH 1/2] Attempt to fixing the E4S HPX tests --- libs/core/include_local/include/hpx/compute.hpp.in | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libs/core/include_local/include/hpx/compute.hpp.in b/libs/core/include_local/include/hpx/compute.hpp.in index 96c43f1d4723..5c0e1b4c2434 100644 --- a/libs/core/include_local/include/hpx/compute.hpp.in +++ b/libs/core/include_local/include/hpx/compute.hpp.in @@ -1,4 +1,4 @@ -// Copyright (c) 2016-2022 Hartmut Kaiser +// Copyright (c) 2016-2024 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying @@ -8,4 +8,12 @@ #pragma once +#include #include + +#if defined(HPX_HAVE_CUDA) || defined(HPX_HAVE_HIP) +#include +#endif +#if defined(HPX_WITH_SYCL) +#include +#endif From 7816bc56b1200dc01df542bd4a2817fb63ee846c Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Wed, 21 Aug 2024 10:57:09 -0500 Subject: [PATCH 2/2] Add more missing #includes --- libs/full/include/include/hpx/compute.hpp | 10 +++++++++- libs/full/include/include/hpx/include/compute.hpp | 7 +++++++ 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/libs/full/include/include/hpx/compute.hpp b/libs/full/include/include/hpx/compute.hpp index a1bd71e59f84..15c29bdca2fb 100644 --- a/libs/full/include/include/hpx/compute.hpp +++ b/libs/full/include/include/hpx/compute.hpp @@ -1,4 +1,4 @@ -// Copyright (c) 2023 Hartmut Kaiser +// Copyright (c) 2023-2024 Hartmut Kaiser // // SPDX-License-Identifier: BSL-1.0 // Distributed under the Boost Software License, Version 1.0. (See accompanying @@ -6,5 +6,13 @@ #pragma once +#include #include #include + +#if defined(HPX_HAVE_CUDA) || defined(HPX_HAVE_HIP) +#include +#endif +#if defined(HPX_WITH_SYCL) +#include +#endif diff --git a/libs/full/include/include/hpx/include/compute.hpp b/libs/full/include/include/hpx/include/compute.hpp index 994d2c3e4a2d..523cbe987be2 100644 --- a/libs/full/include/include/hpx/include/compute.hpp +++ b/libs/full/include/include/hpx/include/compute.hpp @@ -10,3 +10,10 @@ #include #include #include + +#if defined(HPX_HAVE_CUDA) || defined(HPX_HAVE_HIP) +#include +#endif +#if defined(HPX_WITH_SYCL) +#include +#endif