Skip to content

Commit

Permalink
Remove duplicate commented out text in cl_khr_external_semaphore spec (
Browse files Browse the repository at this point in the history
…#865)

Signed-off-by: Kevin Petit <[email protected]>
Change-Id: Ic501eaa5491a47840f8ea5895f55a28482f94c1c

Signed-off-by: Kevin Petit <[email protected]>
  • Loading branch information
kpet authored Jan 17, 2023
1 parent 1aedda7 commit 484005a
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions ext/cl_khr_external_semaphore.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -208,15 +208,6 @@ Following new properties are added to the list of possible supported properties
[width="100%",cols="<33%,<17%,<50%",options="header"]
|====
| Semaphore Property | Property Value | Description
// This is already described in cl_khr_semaphore so we don't need to describe it again here.
//| {CL_DEVICE_HANDLE_LIST_KHR}
// | {cl_device_id_TYPE}[]
// | Specifies the list of OpenCL devices (terminated with
// {CL_DEVICE_HANDLE_LIST_END_KHR}) to associate with the semaphore.
// This is also already described in cl_khr_semaphore so we don't need to describe it again here.
//| {CL_SEMAPHORE_TYPE_KHR}
// | {cl_semaphore_type_khr_TYPE}
// | Specifies the type of semaphore to create.
| {CL_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR}
| {cl_external_semaphore_handle_type_khr_TYPE}[]
| Specifies the list of semaphore handle type properties terminated with
Expand All @@ -226,10 +217,6 @@ Following new properties are added to the list of possible supported properties

Add to the list of error conditions for {clCreateSemaphoreWithPropertiesKHR}:

// This is in the base spec so we don't need to describe it here.
//* {CL_INVALID_DEVICE} if one or more devices identified by properties
//{CL_DEVICE_HANDLE_LIST_KHR} is/are not part of devices within _context_ to which
//{cl_semaphore_khr_TYPE} being created will belong to.
* {CL_INVALID_DEVICE} if one or more devices identified by properties {CL_DEVICE_HANDLE_LIST_KHR} can not import the requested external semaphore handle type.

{clCreateSemaphoreWithPropertiesKHR} may return a NULL value on some implementations if _sema_props_ does not contain an external semaphore handle type to import.
Expand All @@ -241,36 +228,6 @@ Add to the list of supported _param_names_ by {clGetSemaphoreInfoKHR}:
[width="100%",cols="<33%,<17%,<50%",options="header"]
|====
| Semaphore Info | Return Type | Description
// These are already in the base cl_khr_semaphore so we don't need to include them again here.
//| *CL_SEMAPHORE_CONTEXT_KHR*
// | cl_context *
// | cl_context
// | Returns the cl_context associated with the {cl_semaphore_khr_TYPE}.
//| *CL_SEMAPHORE_REFERENCE_COUNT_KHR*
// | cl_uint *
// | cl_uint
// | Returns the reference count associated with the {cl_semaphore_khr_TYPE}.
//| *CL_SEMAPHORE_PROPERTIES_KHR*
// | cl_semaphore_properties_khr**
// | cl_semaphore_properties_khr*
// | Returns the array of properties associated with the {cl_semaphore_khr_TYPE}.
//| *CL_SEMAPHORE_TYPE_KHR*
// | cl_semaphore_type_khr *
// | cl_semaphore_type_khr
// | Returns the type of the {cl_semaphore_khr_TYPE}.
//| *CL_SEMAPHORE_PAYLOAD_KHR*
// | cl_semaphore_payload_khr *
// | cl_semaphore_payload_khr
// | Returns the payload value of the {cl_semaphore_khr_TYPE}. For semaphore of
// type CL_SEMAPHORE_TYPE_BINARY_KHR, payload value returned should be 0 if the
// semaphore is in unsignaled state and 1 if it is in signaled
// state.
//| *CL_DEVICE_HANDLE_LIST_KHR*
// | cl_device_id **
// | cl_device_id *
// | Returns a NULL terminated list of cl_device_id (terminated with
// CL_DEVICE_HANDLE_LIST_END_KHR) for OpenCL devices the semaphore is associated
// with.
| {CL_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR}
| {cl_external_semaphore_handle_type_khr_TYPE}[]
| Returns the list of external semaphore handle types that may be used for
Expand Down

0 comments on commit 484005a

Please sign in to comment.