Skip to content

Commit 9356d53

Browse files
[SYCL] Add sycl::span for SYCL2020 support (#3569)
SYCL2020 spec adds span to the sycl namespace, even when not compiling with C++20 support. The Clang libcxx version of span is adapted here. Signed-off-by: Chris Perkins <[email protected]>
1 parent b52f203 commit 9356d53

File tree

9 files changed

+742
-7
lines changed

9 files changed

+742
-7
lines changed

sycl/include/CL/sycl/stl.hpp

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <CL/sycl/bit_cast.hpp>
1414
#include <CL/sycl/detail/defines.hpp>
15+
#include <CL/sycl/sycl_span.hpp>
1516

1617
#include <exception>
1718
#include <functional>

0 commit comments

Comments
 (0)