From fe6b1582a7a3742319c0a8e6dfd951faec0655d7 Mon Sep 17 00:00:00 2001 From: Ben Ashbaugh Date: Thu, 12 Sep 2024 10:02:35 -0700 Subject: [PATCH] clarify clGetSemaphoreHandleForTypeKHR is part of cl_khr_external_semaphore (#1257) --- api/cl_khr_external_semaphore.asciidoc | 4 ++++ api/cl_khr_external_semaphore_sync_fd.asciidoc | 1 - api/opencl_runtime_layer.asciidoc | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/api/cl_khr_external_semaphore.asciidoc b/api/cl_khr_external_semaphore.asciidoc index 1bbf56796..cdd7ea10a 100644 --- a/api/cl_khr_external_semaphore.asciidoc +++ b/api/cl_khr_external_semaphore.asciidoc @@ -70,6 +70,10 @@ The layered extensions {cl_khr_external_semaphore_opaque_fd_EXT}, {cl_khr_external_semaphore_win32_EXT} define specific external semaphores that may be imported into or exported from OpenCL. +=== New Commands + + * {clGetSemaphoreHandleForTypeKHR} + === New Types * {cl_external_semaphore_handle_type_khr_TYPE} diff --git a/api/cl_khr_external_semaphore_sync_fd.asciidoc b/api/cl_khr_external_semaphore_sync_fd.asciidoc index ae1bc7891..19162666e 100644 --- a/api/cl_khr_external_semaphore_sync_fd.asciidoc +++ b/api/cl_khr_external_semaphore_sync_fd.asciidoc @@ -37,7 +37,6 @@ external semaphore using the APIs introduced by === New Commands - * {clGetSemaphoreHandleForTypeKHR} * {clReImportSemaphoreSyncFdKHR} === New Types diff --git a/api/opencl_runtime_layer.asciidoc b/api/opencl_runtime_layer.asciidoc index 89985ed80..5a769f285 100644 --- a/api/opencl_runtime_layer.asciidoc +++ b/api/opencl_runtime_layer.asciidoc @@ -12940,6 +12940,7 @@ Please refer to handle specific documentation for more details on transference r To export an external handle from a semaphore, call the function include::{generated}/api/protos/clGetSemaphoreHandleForTypeKHR.txt[] +include::{generated}/api/version-notes/clGetSemaphoreHandleForTypeKHR.asciidoc[] * _sema_object_ specifies a valid semaphore object with exportable properties.