@@ -5597,32 +5597,6 @@ The imported memory object holds a reference to its payload.
55975597
55985598==== NT Handle Types
55995599
5600- ifdef::cl_khr_external_memory_dx[]
5601- The {cl_khr_external_memory_dx_EXT} extension extends
5602- {cl_external_memory_handle_type_khr_TYPE} to support the following new types
5603- of handles, and adds as a property that may be specified when creating a
5604- buffer or an image memory object from an external handle:
5605-
5606- * {CL_EXTERNAL_MEMORY_HANDLE_D3D11_TEXTURE_KHR_anchor} specifies an NT handle
5607- returned by `IDXGIResource1::CreateSharedHandle` referring to a Direct3D
5608- 10 or 11 texture resource.
5609- It owns a reference to the memory used by the Direct3D resource.
5610- * {CL_EXTERNAL_MEMORY_HANDLE_D3D11_TEXTURE_KMT_KHR_anchor} specifies a global
5611- share handle returned by `IDXGIResource::GetSharedHandle` referring to a
5612- Direct3D 10 or 11 texture resource.
5613- It does not own a reference to the underlying Direct3D resource, and
5614- will therefore become invalid when all memory objects and Direct3D
5615- resources associated with it are destroyed.
5616- * {CL_EXTERNAL_MEMORY_HANDLE_D3D12_HEAP_KHR_anchor} specifies an NT handle
5617- returned by `ID3D12Device::CreateSharedHandle` referring to a Direct3D
5618- 12 heap resource.
5619- It owns a reference to the resources used by the Direct3D heap.
5620- * {CL_EXTERNAL_MEMORY_HANDLE_D3D12_RESOURCE_KHR_anchor} specifies an NT handle
5621- returned by `ID3D12Device::CreateSharedHandle` referring to a Direct3D
5622- 12 committed resource.
5623- It owns a reference to the memory used by the Direct3D resource.
5624- endif::cl_khr_external_memory_dx[]
5625-
56265600ifdef::cl_khr_external_memory_win32[]
56275601The {cl_khr_external_memory_win32_EXT} extension extends
56285602{cl_external_memory_handle_type_khr_TYPE} to support the following new types
@@ -13128,42 +13102,10 @@ endif::cl_khr_external_semaphore_sync_fd[]
1312813102endif::cl_khr_external_semaphore_opaque_fd,cl_khr_external_semaphore_sync_fd[]
1312913103
1313013104
13131- ifdef::cl_khr_external_semaphore_dx_fence, cl_khr_external_semaphore_win32[]
13105+ ifdef::cl_khr_external_semaphore_win32[]
1313213106
1313313107==== NT Handle Types
1313413108
13135- ifdef::cl_khr_external_semaphore_dx_fence[]
13136-
13137- The {cl_khr_external_semaphore_dx_fence_EXT} extension extends
13138- {cl_external_semaphore_handle_type_khr_TYPE} to support the following new
13139- types of handles, and adds as a property that may be specified when creating
13140- a semaphore from an external handle:
13141-
13142- * {CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR} specifies an NT handle returned by
13143- `ID3D12Device::CreateSharedHandle` referring to a Direct3D 12 fence, or
13144- `ID3D11Device5::CreateFence` referring to a Direct3D 11 fence.
13145- It owns a reference to the underlying synchronization primitive
13146- associated with the Direct3D fence.
13147-
13148- When waiting on semaphores using {clEnqueueWaitSemaphoresKHR} or signaling
13149- semaphores using {clEnqueueSignalSemaphoresKHR}, the semaphore payload must
13150- be provided for semaphores created from
13151- {CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR}.
13152-
13153- * If _sema_objects_ list has a mix of semaphores obtained from
13154- {CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR} and other handle types, then the
13155- _sema_payload_list_ should point to a list of _num_sema_objects_ payload
13156- values for each semaphore in _sema_objects_.
13157- However, the payload values corresponding to semaphores with type
13158- {CL_SEMAPHORE_TYPE_BINARY_KHR} can be set to 0 or will be ignored.
13159-
13160- {clEnqueueWaitSemaphoresKHR} and {clEnqueueSignalSemaphoresKHR} may return
13161- {CL_INVALID_VALUE} if _sema_objects_ list has one or more semaphores
13162- obtained from {CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR} and _sema_payload_list_
13163- is NULL.
13164-
13165- endif::cl_khr_external_semaphore_dx_fence[]
13166-
1316713109ifdef::cl_khr_external_semaphore_win32[]
1316813110
1316913111The {cl_khr_external_semaphore_win32_EXT} extension extends
@@ -13193,14 +13135,6 @@ endif::cl_khr_external_semaphore_win32[]
1319313135|====
1319413136| Handle Type | Transference | Permanence
1319513137
13196- ifdef::cl_khr_external_semaphore_dx_fence[]
13197- | {CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR_anchor}
13198-
13199- include::{generated}/api/version-notes/CL_SEMAPHORE_HANDLE_D3D12_FENCE_KHR.asciidoc[]
13200- | Reference
13201- | Temporary, Permanent
13202- endif::cl_khr_external_semaphore_dx_fence[]
13203-
1320413138ifdef::cl_khr_external_semaphore_win32[]
1320513139| {CL_SEMAPHORE_HANDLE_OPAQUE_WIN32_KHR_anchor}
1320613140
@@ -13223,7 +13157,7 @@ For handle types defined as NT handles, the application must release
1322313157ownership using the `CloseHandle` system call when the handle is no longer
1322413158needed.
1322513159
13226- endif::cl_khr_external_semaphore_dx_fence, cl_khr_external_semaphore_win32[]
13160+ endif::cl_khr_external_semaphore_win32[]
1322713161
1322813162endif::cl_khr_external_semaphore[]
1322913163
0 commit comments