From 43f64edbe4ffe05c7ecfbd0d158f1f4e565cc8f5 Mon Sep 17 00:00:00 2001 From: Greg Lueck Date: Tue, 1 Feb 2022 16:23:47 -0500 Subject: [PATCH] [SYCL][DOC] Move old spec constant extension spec 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. --- .../SYCL_EXT_ONEAPI_SPEC_CONSTANTS.md} | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename sycl/doc/extensions/{SpecConstants/README.md => experimental/SYCL_EXT_ONEAPI_SPEC_CONSTANTS.md} (93%) diff --git a/sycl/doc/extensions/SpecConstants/README.md b/sycl/doc/extensions/experimental/SYCL_EXT_ONEAPI_SPEC_CONSTANTS.md similarity index 93% rename from sycl/doc/extensions/SpecConstants/README.md rename to sycl/doc/extensions/experimental/SYCL_EXT_ONEAPI_SPEC_CONSTANTS.md index 74a210224e3b1..e5c1cad2500be 100644 --- a/sycl/doc/extensions/SpecConstants/README.md +++ b/sycl/doc/extensions/experimental/SYCL_EXT_ONEAPI_SPEC_CONSTANTS.md @@ -11,8 +11,10 @@ constants based on the [proposal](https://github.com/codeplaysoftware/standards-proposals/blob/master/spec-constant/index.md) from Codeplay. -**NOTE:** _In future versions it may be superseded by [SYCL 2020 -specification](https://www.khronos.org/registry/SYCL/specs/sycl-2020-provisional.pdf)._ +**NOTE:** This extension is now deprecated. Use the core SYCL specialization +constant APIs defined in the +[SYCL 2020 specification](https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html) +instead. A specialization constant is identified by a C++ type name, similarly to a kernel, its value is set via `program::set_spec_constant` class API and is