From 779f990a91fe994df2891283e811b4e984381286 Mon Sep 17 00:00:00 2001 From: softwaresat Date: Wed, 5 Aug 2026 20:46:07 -0500 Subject: [PATCH 1/2] [SYCL][Doc] Update sycl_ext_oneapi_sub_group documentation --- .../extensions/deprecated/sycl_ext_oneapi_sub_group.asciidoc | 4 ++++ .../extensions/supported/sycl_ext_oneapi_sub_group.asciidoc | 3 +++ 2 files changed, 7 insertions(+) diff --git a/sycl/doc/extensions/deprecated/sycl_ext_oneapi_sub_group.asciidoc b/sycl/doc/extensions/deprecated/sycl_ext_oneapi_sub_group.asciidoc index cefba3e9fc277..a1224c9e28750 100644 --- a/sycl/doc/extensions/deprecated/sycl_ext_oneapi_sub_group.asciidoc +++ b/sycl/doc/extensions/deprecated/sycl_ext_oneapi_sub_group.asciidoc @@ -1,4 +1,8 @@ = SYCL_INTEL_sub_group + +// __INTEL_PREVIEW_BREAKING_CHANGES: Move this specification to the "removed" +// folder when the feature is removed at the next breaking changes window. + :source-highlighter: coderay :coderay-linenums-mode: table diff --git a/sycl/doc/extensions/supported/sycl_ext_oneapi_sub_group.asciidoc b/sycl/doc/extensions/supported/sycl_ext_oneapi_sub_group.asciidoc index ca25398f28381..e378380363035 100644 --- a/sycl/doc/extensions/supported/sycl_ext_oneapi_sub_group.asciidoc +++ b/sycl/doc/extensions/supported/sycl_ext_oneapi_sub_group.asciidoc @@ -1,2 +1,5 @@ +// __INTEL_PREVIEW_BREAKING_CHANGES: Remove this specification when the feature +// is removed at the next breaking changes window. + This extension has been deprecated, but the specification is still available link:../deprecated/sycl_ext_oneapi_sub_group.asciidoc[here]. From d64f17d60c4179816c0d0bda5bb4afaf6c02b85d Mon Sep 17 00:00:00 2001 From: softwaresat Date: Wed, 5 Aug 2026 20:46:47 -0500 Subject: [PATCH 2/2] [SYCL] Remove sycl_ext_oneapi_sub_group in preview-breaking mode --- sycl/source/feature_test.hpp.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sycl/source/feature_test.hpp.in b/sycl/source/feature_test.hpp.in index 0a90b8b2e03f3..422100b8a0db6 100644 --- a/sycl/source/feature_test.hpp.in +++ b/sycl/source/feature_test.hpp.in @@ -59,7 +59,10 @@ inline namespace _V1 { #define SYCL_EXT_ONEAPI_USE_PINNED_HOST_MEMORY_PROPERTY 1 #define SYCL_EXT_ONEAPI_ROOT_GROUP 1 #define SYCL_EXT_ONEAPI_SRGB 1 +#ifndef __INTEL_PREVIEW_BREAKING_CHANGES +// Advertise the deprecated sub-group extension in non-preview builds. #define SYCL_EXT_ONEAPI_SUB_GROUP 1 +#endif // __INTEL_PREVIEW_BREAKING_CHANGES #define SYCL_EXT_ONEAPI_PROPERTIES 1 #define SYCL_EXT_ONEAPI_NATIVE_MATH 1 #define SYCL_EXT_ONEAPI_BFLOAT16 1