Skip to content

Commit d288119

Browse files
committed
Tweak wording on availability
1 parent acd6b94 commit d288119

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_device_image_backend_content.asciidoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ template <bundle_state State>
9999
class device_image {
100100
public:
101101
std::vector<std::byte> ext_oneapi_get_backend_content() const;
102+
102103
#if defined(__cpp_lib_span)
103104
std::span<std::byte> ext_oneapi_get_backend_content_view() const;
104105
#endif
@@ -137,7 +138,8 @@ std::span<std::byte> ext_oneapi_get_content_backend_view() const;
137138
----
138139
!====
139140

140-
Available only when the compiler is {cpp}20 or higher.
141+
Available only when the compiler defines the `__cpp_lib_span` feature-test macro
142+
(which is defined in {cpp}20 and higher).
141143

142144
_Constraints:_ Available only when `State` is `bundle_state::executable`.
143145

0 commit comments

Comments
 (0)