diff --git a/sycl/doc/extensions/experimental/sycl_ext_codeplay_enqueue_native_command.asciidoc b/sycl/doc/extensions/experimental/sycl_ext_codeplay_enqueue_native_command.asciidoc index 99bc28899ed5e..b361e58dac772 100644 --- a/sycl/doc/extensions/experimental/sycl_ext_codeplay_enqueue_native_command.asciidoc +++ b/sycl/doc/extensions/experimental/sycl_ext_codeplay_enqueue_native_command.asciidoc @@ -139,8 +139,10 @@ implementation supports. |Description |1 -|The APIs of this experimental extension are not versioned, so the - feature-test macro always has this value. +|Initial version defining `handler::ext_codeplay_enqueue_native_command()`. + +|2 +|Addition of `interop_handler` methods for `sycl_ext_oneapi_graph` integration. |=== === Additions to handler class @@ -192,6 +194,11 @@ This section defines the interaction with the link:../experimental/sycl_ext_oneapi_graph.asciidoc[sycl_ext_oneapi_graph] extension. +The APIs defined in this section of the extension specification are only +available from version 2 of the extension. Usage of the APIs can be guarded in +user code by checking the value of the <>. + The `interopCallable` object will be invoked during `command_graph::finalize()` when the backend object for the graph is available to give to the user as a handle. The user may then add nodes using native APIs to the backend graph diff --git a/sycl/source/feature_test.hpp.in b/sycl/source/feature_test.hpp.in index cccc8d462be50..d1f3b74bbf9e9 100644 --- a/sycl/source/feature_test.hpp.in +++ b/sycl/source/feature_test.hpp.in @@ -108,7 +108,7 @@ inline namespace _V1 { #define SYCL_EXT_ONEAPI_ENQUEUE_FUNCTIONS 1 #define SYCL_EXT_ONEAPI_RAW_KERNEL_ARG 1 #define SYCL_EXT_ONEAPI_PROFILING_TAG 1 -#define SYCL_EXT_ONEAPI_ENQUEUE_NATIVE_COMMAND 1 +#define SYCL_EXT_ONEAPI_ENQUEUE_NATIVE_COMMAND 2 #define SYCL_EXT_ONEAPI_GET_KERNEL_INFO 1 #define SYCL_EXT_ONEAPI_WORK_GROUP_MEMORY 1 #define SYCL_EXT_ONEAPI_WORK_GROUP_SCRATCH_MEMORY 1