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 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