Skip to content

Commit 2150e31

Browse files
authored
cl_khr_external_memory: add error when CL_DEVICE_HANDLE_LIST_KHR is specified without an external memory handle (#922)
Fixes #916 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
1 parent bf704a0 commit 2150e31

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

ext/cl_khr_external_memory.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ Other related extensions define specific external memory types that may be impor
3030
[cols="1,1,3",options="header",]
3131
|====
3232
| *Date* | *Version* | *Description*
33+
| 2023-05-04 | 0.9.1 | {CL_DEVICE_HANDLE_LIST_KHR} cannot be specified without an external memory handle (provisional).
3334
| 2021-09-10 | 0.9.0 | Initial version (provisional).
3435
|====
3536

@@ -211,6 +212,8 @@ Add to the list of error conditions for {clCreateBufferWithProperties} and {clCr
211212
** if _properties_ includes a supported external memory handle and _flags_ includes {CL_MEM_USE_HOST_PTR}, {CL_MEM_ALLOC_HOST_PTR}, or {CL_MEM_COPY_HOST_PTR}.
212213
* {CL_INVALID_HOST_PTR}
213214
** if _properties_ includes a supported external memory handle and _host_ptr_ is not `NULL`.
215+
* {CL_INVALID_PROPERTY}
216+
** if _properties_ does not include a supported external memory handle and {CL_DEVICE_HANDLE_LIST_KHR} is specified as part of _properties_.
214217

215218
Add images created from an external memory handle to the description of `image_row_pitch` and `image_slice_pitch` for {cl_image_desc_TYPE}:
216219

0 commit comments

Comments
 (0)