From 613ed55e864ee014b96b2b0e92854b0a217482fa Mon Sep 17 00:00:00 2001 From: Steffen Larsen Date: Tue, 1 Mar 2022 12:53:03 +0300 Subject: [PATCH 1/2] [SYCL][DOC] Enable SYCL_EXT_ONEAPI_PROPERTIES extension These changes adds the definition of the SYCL_EXT_ONEAPI_PROPERTIES feature macro and moves the corresponding proposal to experimental support. Signed-off-by: Steffen Larsen --- .../sycl_ext_oneapi_properties.asciidoc | 0 sycl/include/CL/sycl/feature_test.hpp.in | 1 + 2 files changed, 1 insertion(+) rename sycl/doc/extensions/{proposed => experimental}/sycl_ext_oneapi_properties.asciidoc (100%) diff --git a/sycl/doc/extensions/proposed/sycl_ext_oneapi_properties.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_oneapi_properties.asciidoc similarity index 100% rename from sycl/doc/extensions/proposed/sycl_ext_oneapi_properties.asciidoc rename to sycl/doc/extensions/experimental/sycl_ext_oneapi_properties.asciidoc diff --git a/sycl/include/CL/sycl/feature_test.hpp.in b/sycl/include/CL/sycl/feature_test.hpp.in index 30164956bb0f0..a7f0ca071ee46 100644 --- a/sycl/include/CL/sycl/feature_test.hpp.in +++ b/sycl/include/CL/sycl/feature_test.hpp.in @@ -53,6 +53,7 @@ namespace sycl { #define SYCL_EXT_ONEAPI_USE_PINNED_HOST_MEMORY_PROPERTY 1 #define SYCL_EXT_ONEAPI_SRGB 1 #define SYCL_EXT_ONEAPI_SUB_GROUP 1 +#define SYCL_EXT_ONEAPI_PROPERTIES 1 #define SYCL_EXT_INTEL_BF16_CONVERSION 1 #define SYCL_EXT_INTEL_DATAFLOW_PIPES 1 #ifdef __clang__ From 2346a4971497050c9bcb16f6df50d4a6901de798 Mon Sep 17 00:00:00 2001 From: Steffen Larsen Date: Tue, 1 Mar 2022 17:01:57 +0300 Subject: [PATCH 2/2] Change status to experimental Signed-off-by: Steffen Larsen --- .../sycl_ext_oneapi_properties.asciidoc | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sycl/doc/extensions/experimental/sycl_ext_oneapi_properties.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_oneapi_properties.asciidoc index 8f50d2491f70e..00cb3e28454e7 100644 --- a/sycl/doc/extensions/experimental/sycl_ext_oneapi_properties.asciidoc +++ b/sycl/doc/extensions/experimental/sycl_ext_oneapi_properties.asciidoc @@ -2,6 +2,8 @@ = `sycl_ext_oneapi_properties` +:dpcpp: pass:[DPC++] + == Introduction The `sycl::property_list` found in SYCL 2020 is used to store properties used in the construction of runtime classes. It does so in a fully dynamic manner, such that it is not possible to obtain any useful information about the types of properties passed nor their values at compile time. @@ -25,11 +27,12 @@ Copyright (c) 2021 Intel Corporation. All rights reserved. == Status -Working Draft - -This is a preview extension specification, intended to provide early access to a feature for review and community feedback. When the feature matures, this specification may be released as a formal extension. - -Because the interfaces defined by this specification are not final and are subject to change they are not intended to be used by shipping software products. +This is an experimental extension specification, intended to provide early +access to features and gather community feedback. Interfaces defined in this +specification are implemented in {dpcpp}, but they are not finalized and may +change incompatibly in future versions of {dpcpp} without prior notice. +*Shipping software products should not rely on APIs defined in this +specification.* == Version