Skip to content

Commit 484005a

Browse files
authored
Remove duplicate commented out text in cl_khr_external_semaphore spec (#865)
Signed-off-by: Kevin Petit <kevin.petit@arm.com> Change-Id: Ic501eaa5491a47840f8ea5895f55a28482f94c1c Signed-off-by: Kevin Petit <kevin.petit@arm.com>
1 parent 1aedda7 commit 484005a

1 file changed

Lines changed: 0 additions & 43 deletions

File tree

ext/cl_khr_external_semaphore.asciidoc

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,6 @@ Following new properties are added to the list of possible supported properties
208208
[width="100%",cols="<33%,<17%,<50%",options="header"]
209209
|====
210210
| Semaphore Property | Property Value | Description
211-
// This is already described in cl_khr_semaphore so we don't need to describe it again here.
212-
//| {CL_DEVICE_HANDLE_LIST_KHR}
213-
// | {cl_device_id_TYPE}[]
214-
// | Specifies the list of OpenCL devices (terminated with
215-
// {CL_DEVICE_HANDLE_LIST_END_KHR}) to associate with the semaphore.
216-
// This is also already described in cl_khr_semaphore so we don't need to describe it again here.
217-
//| {CL_SEMAPHORE_TYPE_KHR}
218-
// | {cl_semaphore_type_khr_TYPE}
219-
// | Specifies the type of semaphore to create.
220211
| {CL_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR}
221212
| {cl_external_semaphore_handle_type_khr_TYPE}[]
222213
| Specifies the list of semaphore handle type properties terminated with
@@ -226,10 +217,6 @@ Following new properties are added to the list of possible supported properties
226217

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

229-
// This is in the base spec so we don't need to describe it here.
230-
//* {CL_INVALID_DEVICE} if one or more devices identified by properties
231-
//{CL_DEVICE_HANDLE_LIST_KHR} is/are not part of devices within _context_ to which
232-
//{cl_semaphore_khr_TYPE} being created will belong to.
233220
* {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.
234221

235222
{clCreateSemaphoreWithPropertiesKHR} may return a NULL value on some implementations if _sema_props_ does not contain an external semaphore handle type to import.
@@ -241,36 +228,6 @@ Add to the list of supported _param_names_ by {clGetSemaphoreInfoKHR}:
241228
[width="100%",cols="<33%,<17%,<50%",options="header"]
242229
|====
243230
| Semaphore Info | Return Type | Description
244-
// These are already in the base cl_khr_semaphore so we don't need to include them again here.
245-
//| *CL_SEMAPHORE_CONTEXT_KHR*
246-
// | cl_context *
247-
// | cl_context
248-
// | Returns the cl_context associated with the {cl_semaphore_khr_TYPE}.
249-
//| *CL_SEMAPHORE_REFERENCE_COUNT_KHR*
250-
// | cl_uint *
251-
// | cl_uint
252-
// | Returns the reference count associated with the {cl_semaphore_khr_TYPE}.
253-
//| *CL_SEMAPHORE_PROPERTIES_KHR*
254-
// | cl_semaphore_properties_khr**
255-
// | cl_semaphore_properties_khr*
256-
// | Returns the array of properties associated with the {cl_semaphore_khr_TYPE}.
257-
//| *CL_SEMAPHORE_TYPE_KHR*
258-
// | cl_semaphore_type_khr *
259-
// | cl_semaphore_type_khr
260-
// | Returns the type of the {cl_semaphore_khr_TYPE}.
261-
//| *CL_SEMAPHORE_PAYLOAD_KHR*
262-
// | cl_semaphore_payload_khr *
263-
// | cl_semaphore_payload_khr
264-
// | Returns the payload value of the {cl_semaphore_khr_TYPE}. For semaphore of
265-
// type CL_SEMAPHORE_TYPE_BINARY_KHR, payload value returned should be 0 if the
266-
// semaphore is in unsignaled state and 1 if it is in signaled
267-
// state.
268-
//| *CL_DEVICE_HANDLE_LIST_KHR*
269-
// | cl_device_id **
270-
// | cl_device_id *
271-
// | Returns a NULL terminated list of cl_device_id (terminated with
272-
// CL_DEVICE_HANDLE_LIST_END_KHR) for OpenCL devices the semaphore is associated
273-
// with.
274231
| {CL_SEMAPHORE_EXPORT_HANDLE_TYPES_KHR}
275232
| {cl_external_semaphore_handle_type_khr_TYPE}[]
276233
| Returns the list of external semaphore handle types that may be used for

0 commit comments

Comments
 (0)