From ca4ce777708c0c62f154728d8d3cff88156347b9 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Mon, 30 Jan 2023 15:56:02 -0500 Subject: [PATCH] Accept CL/sycl.hpp in tests --- tests/offload_utils.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/offload_utils.hpp b/tests/offload_utils.hpp index a71ae060..a986aa65 100644 --- a/tests/offload_utils.hpp +++ b/tests/offload_utils.hpp @@ -15,7 +15,11 @@ //@HEADER #ifdef _MDSPAN_HAS_SYCL +#if __has_include() #include +#else +#include +#endif #endif #ifdef _MDSPAN_HAS_HIP