Skip to content

Commit ba9c4ab

Browse files
author
Ewan Crawford
authored
Error on command-buffer multiple finalization (#817)
Action issue [816](#816) to make it an error for a command-buffer to be finalized multiple times. Bumped the patch version of the cl_khr_command_buffer extension as this is a behaviour change, and included contributors who I could recall participating in the teleconference discussion but weren't already listed.
1 parent 4609015 commit ba9c4ab

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

ext/cl_khr_command_buffer.asciidoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ This extension adds the ability to record and replay buffers of OpenCL commands.
1919
|====
2020
| *Date* | *Version* | *Description*
2121
| 2021-11-10 | 0.9.0 | First assigned version (provisional).
22+
| 2022-08-24 | 0.9.1 | Specify an error if a command-buffer is finalized multiple times (provisional).
2223
|====
2324

2425
==== Dependencies
@@ -40,9 +41,12 @@ Kevin Petit, Arm Ltd. +
4041
Aharon Abramson, Intel. +
4142
Ben Ashbaugh, Intel. +
4243
Boaz Ouriel, Intel. +
44+
Chris Gearing, Intel. +
4345
Pekka Jääskeläinen, Tampere University +
46+
Jan Solanti, Tampere University +
4447
Nikhil Joshi, NVIDIA +
4548
James Price, Google +
49+
Brice Videau, Argonne National Laboratory +
4650

4751
=== Overview
4852

@@ -661,6 +665,9 @@ successfully. Otherwise, it returns one of the following errors:
661665
* `CL_INVALID_COMMAND_BUFFER_KHR` if _command_buffer_ is not a valid
662666
command-buffer.
663667

668+
* `CL_INVALID_OPERATION` if _command_buffer_ is not in the
669+
<<recording, Recording>> state.
670+
664671
* `CL_OUT_OF_RESOURCES` if there is a failure to allocate resources required by
665672
the OpenCL implementation on the device.
666673

0 commit comments

Comments
 (0)