5.13.1. Semaphore Types
5.13.1. 信号量类型
-
cl_semaphore_type_khr
represent the different types of semaphores.
cl_semaphore_type_khr表示不同类型的信号量。-
It is mandatory to support CL_SEMAPHORE_TYPE_BINARY_KHR.
-
必须支持CL_SEMAPHORE_TYPE_BINARY_KHR。
-
-
cl_semaphore_properties_khr
represents properties associated with semaphores.
cl_semaphore_properties_khr表示与信号量相关的属性。-
CL_SEMAPHORE_TYPE_KHR must be supported.
-
必须支持CL_SEMAPHORE_TYPE_KHR。
-
-
cl_semaphore_info_khr
represents queries for additional information about semaphores.
cl_semaphore_info_khr表示对信号量附加信息的查询。-
All enums described in the “New API Enums” section of the cl_khr_semaphore extension for
cl_semaphore_info_khr
must be supported. -
必须支持cl_semaphore_info_khr的cl_khr_semaphore扩展的“新建API枚举”部分中描述的所有枚举。
-
-
cl_semaphore_payload_khr
represents payload values of semaphores. -
cl_semaphore_payload_khr表示信号量的有效载荷值。
-
cl_semaphore_khr
represent semaphore objects. -
cl_semaphore_khr表示信号量对象。