Skip to content

Commit 240bcf0

Browse files
authored
[SYCL][DOC] Move old spec constant extension spec (#5456)
This old specialization constant extension is still supported, but it is superseded by the specialization constant APIs in the core SYCL 2020 specification. It's implementation is in the "experimental" namespace, so move it to the "experimental" directory and add a note that it is now deprecated.
1 parent 09be931 commit 240bcf0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/doc/extensions/SpecConstants/README.md renamed to sycl/doc/extensions/experimental/SYCL_EXT_ONEAPI_SPEC_CONSTANTS.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ constants based on the
1111
[proposal](https://github.com/codeplaysoftware/standards-proposals/blob/master/spec-constant/index.md)
1212
from Codeplay.
1313

14-
**NOTE:** _In future versions it may be superseded by [SYCL 2020
15-
specification](https://www.khronos.org/registry/SYCL/specs/sycl-2020-provisional.pdf)._
14+
**NOTE:** This extension is now deprecated. Use the core SYCL specialization
15+
constant APIs defined in the
16+
[SYCL 2020 specification](https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html)
17+
instead.
1618

1719
A specialization constant is identified by a C++ type name, similarly to a
1820
kernel, its value is set via `program::set_spec_constant` class API and is

0 commit comments

Comments
 (0)