From e880f958baf8f9b74f490458ab800236be24109c Mon Sep 17 00:00:00 2001 From: Greg Lueck Date: Thu, 23 Jan 2025 10:21:20 -0500 Subject: [PATCH] [SYCL][Doc] Update spec wording regarding C++20 (#16713) We decided in KhronosGroup/SYCL-Docs#667 to use this wording for SYCL APIs that require C++ features added after C++17. The next version of the SYCL spec formally adopts this wording in KhronosGroup/SYCL-Docs#680. --- .../sycl_ext_oneapi_device_image_backend_content.asciidoc | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/sycl/doc/extensions/proposed/sycl_ext_oneapi_device_image_backend_content.asciidoc b/sycl/doc/extensions/proposed/sycl_ext_oneapi_device_image_backend_content.asciidoc index 566e0f2482334..77eb2703ba386 100644 --- a/sycl/doc/extensions/proposed/sycl_ext_oneapi_device_image_backend_content.asciidoc +++ b/sycl/doc/extensions/proposed/sycl_ext_oneapi_device_image_backend_content.asciidoc @@ -101,9 +101,7 @@ class device_image { backend ext_oneapi_get_backend() const noexcept; std::vector ext_oneapi_get_backend_content() const; -#if defined(__cpp_lib_span) - std::span ext_oneapi_get_backend_content_view() const; -#endif + std::span ext_oneapi_get_backend_content_view() const; // Requires C++20 /*...*/ }; @@ -154,8 +152,7 @@ std::span ext_oneapi_get_content_backend_view() const; ---- !==== -Available only when the compiler defines the `__cpp_lib_span` feature-test macro -(which is defined in {cpp}20 and higher). +Minimum C++ Version: {cpp}20 _Constraints:_ Available only when `State` is `bundle_state::executable`.