From 8c76cc78eb8fbf79f15b3f8752dfb2e35ba6d3f5 Mon Sep 17 00:00:00 2001 From: Kevin Petit Date: Tue, 6 Aug 2024 18:22:01 +0100 Subject: [PATCH] Return CL_INVALID_VALUE from clReImportSemaphoreSyncFdKHR when reimport properties are not NULL Not supported for now. Signed-off-by: Kevin Petit Change-Id: I58659fc9cd7fd3ae5178826285fd84d6932b29d8 --- api/cl_khr_external_semaphore_sync_fd.asciidoc | 2 ++ api/opencl_runtime_layer.asciidoc | 1 + 2 files changed, 3 insertions(+) diff --git a/api/cl_khr_external_semaphore_sync_fd.asciidoc b/api/cl_khr_external_semaphore_sync_fd.asciidoc index aee60ec16..57b950752 100644 --- a/api/cl_khr_external_semaphore_sync_fd.asciidoc +++ b/api/cl_khr_external_semaphore_sync_fd.asciidoc @@ -59,3 +59,5 @@ external semaphore using the APIs introduced by ** Added re-import function call to {cl_khr_external_semaphore_sync_fd_EXT} * Revision 1.0.0, 2024-03-15 ** First non-provisional version. + * Revision 1.1.0, 2024-08-06 + ** Return CL_INVALID_VALUE from clReImportSemaphoreSyncFdKHR when reimport properties are NULL. diff --git a/api/opencl_runtime_layer.asciidoc b/api/opencl_runtime_layer.asciidoc index b4e3e5087..86a687fa8 100644 --- a/api/opencl_runtime_layer.asciidoc +++ b/api/opencl_runtime_layer.asciidoc @@ -13094,6 +13094,7 @@ Otherwise, it returns one of the following errors: * {CL_INVALID_SEMAPHORE_KHR} if a {CL_SEMAPHORE_HANDLE_SYNC_FD_KHR} handle was not imported when _sema_object_ was created. * {CL_INVALID_VALUE} if _fd_ is invalid. + * {CL_INVALID_VALUE} if _reimport_props_ is not `NULL`. * {CL_OUT_OF_HOST_MEMORY} if there is a failure to allocate resources required by the OpenCL implementation on the host. * {CL_OUT_OF_RESOURCES} if there is a failure to allocate resources