Skip to content

Commit 141d723

Browse files
[SYCL][Docs] Move sycl_ext_oneapi_enqueue_functions to experimental (#14017)
#13512 implemented the sycl_ext_oneapi_enqueue_functions extension. Following this, the corresponding extension document is moved to experimental and the feature test macro is defined. --------- Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 990b1d1 commit 141d723

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

sycl/doc/extensions/proposed/sycl_ext_oneapi_enqueue_functions.asciidoc renamed to sycl/doc/extensions/experimental/sycl_ext_oneapi_enqueue_functions.asciidoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ SYCL specification refer to that revision.
4444

4545
== Status
4646

47-
This is a proposed extension specification, intended to gather community
48-
feedback. Interfaces defined in this specification may not be implemented yet
49-
or may be in a preliminary state. The specification itself may also change in
50-
incompatible ways before it is finalized. *Shipping software products should
51-
not rely on APIs defined in this specification.*
47+
This is an experimental extension specification, intended to provide early
48+
access to features and gather community feedback. Interfaces defined in this
49+
specification are implemented in {dpcpp}, but they are not finalized and may
50+
change incompatibly in future versions of {dpcpp} without prior notice.
51+
*Shipping software products should not rely on APIs defined in this
52+
specification.*
5253

5354

5455
== Overview
@@ -79,7 +80,7 @@ This extension makes SYCL simpler and easier to document. It is also expected
7980
to improve the performance of many SYCL applications, where `event` objects are
8081
not required to describe application behavior.
8182

82-
All functions proposed in this extension accept as their first argument an
83+
All functions in this extension accept as their first argument an
8384
object that represents where a command should be submitted, allowing the new
8485
functions to be used either at command-group scope or as a replacement for
8586
existing queue shortcuts. A future version of this extension may adjust this
@@ -89,7 +90,7 @@ by accepting a scheduler and returning a sender).
8990

9091
=== Usage example
9192

92-
The example below demonstrates that the syntax proposed here requires only
93+
The example below demonstrates that the syntax here requires only
9394
minor changes to existing applications, while retaining their structure.
9495

9596

@@ -117,7 +118,7 @@ sycl::free(output, q);
117118
----
118119

119120

120-
==== Proposed syntax
121+
==== Syntax
121122

122123
[source,c++]
123124
----

sycl/source/feature_test.hpp.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ inline namespace _V1 {
107107
#define SYCL_EXT_ONEAPI_FORWARD_PROGRESS 1
108108
#define SYCL_EXT_ONEAPI_FREE_FUNCTION_KERNELS 1
109109
#define SYCL_EXT_ONEAPI_PROD 1
110+
#define SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS 1
110111

111112
#ifndef __has_include
112113
#define __has_include(x) 0

0 commit comments

Comments
 (0)