Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class KHRExternalSemaphore

extends Object
Class Inheritance

Native bindings to the khr_external_semaphore extension.

cl_khr_semaphore introduced semaphores as a new type along with a set of APIs for create, release, retain, wait and signal operations on it. This extension defines APIs and mechanisms to share semaphores created in an external API by importing into and exporting from OpenCL.

This extension defines:

Other related extensions define specific external semaphores that may be imported into or exported from OpenCL.

Requires CL12 and the khr_semaphore extension.

Field Summary

Modifier and TypeField and Description
public static final int
public static final int
public static final int
CL_DEVICE_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR

Accepted value for the param_name parameter to GetDeviceInfo to query external memory handle types that may be imported by an OpenCL device.

public static final int
public static final int
public static final int
CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHR

External memory handle type added by cl_khr_external_memory_dma_buf.

public static final int
CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR

External memory handle type added by cl_khr_external_memory_opaque_fd.

public static final int
CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KHR

External memory handle types added by cl_khr_external_memory_win32.

public static final int
CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KMT_KHR

External memory handle types added by cl_khr_external_memory_win32.

public static final int
CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR

Accepted value for the param_name parameter to GetPlatformInfo to query external memory handle types that may be imported by all devices in an OpenCL platform.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_COMMAND_ACQUIRE_EXTERNAL_MEM_OBJECTS_KHRback to summary
public static final int CL_COMMAND_ACQUIRE_EXTERNAL_MEM_OBJECTS_KHR

New return values from GetEventInfo when param_name is EVENT_COMMAND_TYPE.

CL_COMMAND_RELEASE_EXTERNAL_MEM_OBJECTS_KHRback to summary
public static final int CL_COMMAND_RELEASE_EXTERNAL_MEM_OBJECTS_KHR

New return values from GetEventInfo when param_name is EVENT_COMMAND_TYPE.

CL_DEVICE_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHRback to summary
public static final int CL_DEVICE_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR

Accepted value for the param_name parameter to GetDeviceInfo to query external memory handle types that may be imported by an OpenCL device.

CL_DEVICE_HANDLE_LIST_END_KHRback to summary
public static final int CL_DEVICE_HANDLE_LIST_END_KHR

New properties accepted as properties to CreateBufferWithProperties and CreateImageWithProperties.

CL_DEVICE_HANDLE_LIST_KHRback to summary
public static final int CL_DEVICE_HANDLE_LIST_KHR

New properties accepted as properties to CreateBufferWithProperties and CreateImageWithProperties.

CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHRback to summary
public static final int CL_EXTERNAL_MEMORY_HANDLE_DMA_BUF_KHR

External memory handle type added by cl_khr_external_memory_dma_buf.

CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHRback to summary
public static final int CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_FD_KHR

External memory handle type added by cl_khr_external_memory_opaque_fd.

CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KHRback to summary
public static final int CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KHR

External memory handle types added by cl_khr_external_memory_win32.

CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KMT_KHRback to summary
public static final int CL_EXTERNAL_MEMORY_HANDLE_OPAQUE_WIN32_KMT_KHR

External memory handle types added by cl_khr_external_memory_win32.

CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHRback to summary
public static final int CL_PLATFORM_EXTERNAL_MEMORY_IMPORT_HANDLE_TYPES_KHR

Accepted value for the param_name parameter to GetPlatformInfo to query external memory handle types that may be imported by all devices in an OpenCL platform.

Constructor Detail

KHRExternalSemaphoreback to summary
private KHRExternalSemaphore()