This extension defines a generic mechanism to share buffer and image objects between OpenCL and many other APIs.
In particular, the cl_khr_external_memory extension defines:
Other related extensions define specific external memory types that may be imported into OpenCL.
Requires CL30.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | CL_COMMAND_ACQUIRE_EXTERNAL_MEM_OBJECTS_KHR
New return values from |
| public static final int | CL_COMMAND_RELEASE_EXTERNAL_MEM_OBJECTS_KHR
New return values from |
| public static final int | CL_DEVICE_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR
Accepted value for the |
| public static final int | CL_DEVICE_HANDLE_LIST_END_KHR
New properties accepted as |
| public static final int | CL_DEVICE_HANDLE_LIST_KHR
New properties accepted as |
| public static final int | CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHR
External memory handle type added by |
| public static final int | CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR
External memory handle type added by |
| public static final int | CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KHR
External memory handle types added by |
| public static final int | CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KMT_KHR
External memory handle types added by |
| public static final int | CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR
Accepted value for the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | clEnqueueAcquireExternalMemObjectsKHR(long command_queue, PointerBuffer mem_objects, PointerBuffer
a list of events that need to complete before this particular command can be executed. If event_wait_list, PointerBuffer event_wait_list is NULL, then this particular command
does not wait on any event to complete. The events specified in event_wait_list act as synchronization points. The context associated with events in
event_wait_list and command_queue must be the same.Returns an event object that identifies this particular command and can be used to query or queue a wait for this particular command to complete.
event)event can be NULL in which case it will not be possible for the application to query the status of this command or queue a wait for this command to
complete. If the event_wait_list and the event arguments are not NULL, the event argument should not refer to an element of the
event_wait_list array.
|
| public static int | clEnqueueReleaseExternalMemObjectsKHR(long command_queue, PointerBuffer mem_objects, PointerBuffer
a list of events that need to complete before this particular command can be executed. If event_wait_list, PointerBuffer event_wait_list is NULL, then this particular command
does not wait on any event to complete. The events specified in event_wait_list act as synchronization points. The context associated with events in
event_wait_list and command_queue must be the same.Returns an event object that identifies this particular command and can be used to query or queue a wait for this particular command to complete.
event)event can be NULL in which case it will not be possible for the application to query the status of this command or queue a wait for this command to
complete. If the event_wait_list and the event arguments are not NULL, the event argument should not refer to an element of the
event_wait_list array.
|
| public static int | nclEnqueueAcquireExternalMemObjectsKHR(long command_queue, int num_mem_objects, long mem_objects, int
the number of events in num_events_in_wait_list, long event_wait_list, long event)event_wait_listUnsafe version of: |
| public static int | nclEnqueueReleaseExternalMemObjectsKHR(long command_queue, int num_mem_objects, long mem_objects, int
the number of events in num_events_in_wait_list, long event_wait_list, long event)event_wait_listUnsafe version of: |
| CL_COMMAND_ACQUIRE_EXTERNAL_MEM_OBJECTS_KHR | back to summary |
|---|---|
| public static final int CL_COMMAND_ACQUIRE_EXTERNAL_MEM_OBJECTS_KHR New return values from | |
| CL_COMMAND_RELEASE_EXTERNAL_MEM_OBJECTS_KHR | back to summary |
|---|---|
| public static final int CL_COMMAND_RELEASE_EXTERNAL_MEM_OBJECTS_KHR New return values from | |
| CL_DEVICE_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR | back to summary |
|---|---|
| public static final int CL_DEVICE_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR Accepted value for the | |
| CL_DEVICE_HANDLE_LIST_END_KHR | back to summary |
|---|---|
| public static final int CL_DEVICE_HANDLE_LIST_END_KHR New properties accepted as | |
| CL_DEVICE_HANDLE_LIST_KHR | back to summary |
|---|---|
| public static final int CL_DEVICE_HANDLE_LIST_KHR New properties accepted as | |
| CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHR | back to summary |
|---|---|
| public static final int CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHR External memory handle type added by | |
| CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR | back to summary |
|---|---|
| public static final int CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR External memory handle type added by | |
| CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KHR | back to summary |
|---|---|
| public static final int CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KHR External memory handle types added by | |
| CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KMT_KHR | back to summary |
|---|---|
| public static final int CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KMT_KHR External memory handle types added by | |
| CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR | back to summary |
|---|---|
| public static final int CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR Accepted value for the | |
| KHRExternalMemory | back to summary |
|---|---|
| protected KHRExternalMemory() | |
| clEnqueueAcquireExternalMemObjectsKHR | back to summary |
|---|---|
public static int clEnqueueAcquireExternalMemObjectsKHR(long command_queue, PointerBuffer mem_objects, PointerBuffer event_wait_list, PointerBuffer event)
| |
| clEnqueueReleaseExternalMemObjectsKHR | back to summary |
|---|---|
public static int clEnqueueReleaseExternalMemObjectsKHR(long command_queue, PointerBuffer mem_objects, PointerBuffer event_wait_list, PointerBuffer event)
| |
| nclEnqueueAcquireExternalMemObjectsKHR | back to summary |
|---|---|
| public static int nclEnqueueAcquireExternalMemObjectsKHR(long command_queue, int num_mem_objects, long mem_objects, int num_events_in_wait_list, long event_wait_list, long event) Unsafe version of:
| |
| nclEnqueueReleaseExternalMemObjectsKHR | back to summary |
|---|---|
| public static int nclEnqueueReleaseExternalMemObjectsKHR(long command_queue, int num_mem_objects, long mem_objects, int num_events_in_wait_list, long event_wait_list, long event) Unsafe version of:
| |