Skip to content

Commit 7fab3b7

Browse files
author
Ewan Crawford
committed
Add spec error for finalize exception
1 parent 4bf35a6 commit 7fab3b7

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

sycl/doc/design/CommandGraph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ OpenCL UR adapter based on
609609
the presence of `cl_khr_command_buffer`, and the OpenCL device reporting
610610
support for
611611
[CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR](https://registry.khronos.org/OpenCL/specs/3.0-unified/html/OpenCL_API.html#CL_COMMAND_BUFFER_CAPABILITY_SIMULTANEOUS_USE_KHR).
612-
The later is required to enable multiple submissions of the same executable
612+
The latter is required to enable multiple submissions of the same executable
613613
`command_graph` object without having to do a blocking wait on prior submissions
614614
in-between.
615615

sycl/doc/extensions/experimental/sycl_ext_oneapi_graph.asciidoc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1347,6 +1347,11 @@ Parameters:
13471347
The other is <<enable-profiling, `property::graph::enable_profiling`>>
13481348
to enable profiling events returned from submissions of the executable graph.
13491349

1350+
Exceptions:
1351+
1352+
* Throws synchronously with error code `feature_not_supported` if the graph
1353+
contains a command that is not supported by the device.
1354+
13501355
Returns: A new executable graph object which can be submitted to a queue.
13511356

13521357
|

0 commit comments

Comments
 (0)