Skip to content

Commit

Permalink
Accept CL/sycl.hpp in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Jan 30, 2023
1 parent fc4b692 commit ca4ce77
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/offload_utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@
//@HEADER

#ifdef _MDSPAN_HAS_SYCL
#if __has_include(<sycl/sycl.hpp>)
#include <sycl/sycl.hpp>
#else
#include <CL/sycl.hpp>
#endif
#endif

#ifdef _MDSPAN_HAS_HIP
Expand Down

0 comments on commit ca4ce77

Please sign in to comment.