Class KHRDeviceUUID
- java.lang.Object
-
- org.lwjgl.opencl.KHRDeviceUUID
-
public final class KHRDeviceUUID extends java.lang.ObjectNative bindings to the khr_device_uuid extension.This extension adds the ability to query a universally unique identifier (UUID) for an OpenCL driver and OpenCL device. The UUIDs returned by the query may be used to identify drivers and devices across processes or APIs.
-
-
Field Summary
Fields Modifier and Type Field Description static intCL_DEVICE_LUID_KHRReturns a locally unique identifier (LUID) for the device.static intCL_DEVICE_LUID_VALID_KHRstatic intCL_DEVICE_NODE_MASK_KHRReturns a node mask for the device.static intCL_DEVICE_UUID_KHRReturns a universally unique identifier (UUID) for the device.static intCL_DRIVER_UUID_KHRReturns a universally unique identifier (UUID) for the software driver for the device.static intCL_LUID_SIZE_KHR
CL_UUID_SIZE_KHR
-
-
-
Field Detail
-
CL_UUID_SIZE_KHR
public static final int CL_UUID_SIZE_KHR
- See Also:
- Constant Field Values
-
CL_LUID_SIZE_KHR
public static final int CL_LUID_SIZE_KHR
- See Also:
- Constant Field Values
-
CL_DEVICE_UUID_KHR
public static final int CL_DEVICE_UUID_KHR
Returns a universally unique identifier (UUID) for the device. (cl_uchar[CL_UUID_SIZE_KHR])Device UUIDs must be immutable for a given device across processes, driver APIs, driver versions, and system reboots.
- See Also:
- Constant Field Values
-
CL_DRIVER_UUID_KHR
public static final int CL_DRIVER_UUID_KHR
Returns a universally unique identifier (UUID) for the software driver for the device. (cl_uchar[CL_UUID_SIZE_KHR])- See Also:
- Constant Field Values
-
CL_DEVICE_LUID_VALID_KHR
public static final int CL_DEVICE_LUID_VALID_KHR
- See Also:
- Constant Field Values
-
CL_DEVICE_LUID_KHR
public static final int CL_DEVICE_LUID_KHR
Returns a locally unique identifier (LUID) for the device. (cl_uchar[CL_LUID_SIZE_KHR])It is not an error to query
CL_DEVICE_LUID_KHRwhenDEVICE_LUID_VALID_KHRreturnsFALSE, but in this case the returned LUID value is undefined.When
CL_DEVICE_LUID_VALID_KHRreturnsTRUE, and the OpenCL device is running on the Windows operating system, the returned LUID value can be cast to an LUID object and must be equal to the locally unique identifier of anIDXGIAdapter1object that corresponds to the OpenCL device.- See Also:
- Constant Field Values
-
CL_DEVICE_NODE_MASK_KHR
public static final int CL_DEVICE_NODE_MASK_KHR
Returns a node mask for the device. (cl_uint)It is not an error to query
CL_DEVICE_NODE_MASK_KHRwhenDEVICE_LUID_VALID_KHRreturnsFALSE, but in this case the returned node mask is undefined.When
CL_DEVICE_LUID_VALID_KHRreturnsTRUE, the returned node mask must contain exactly one bit. If the OpenCL device is running on an operating system that supports the Direct3D 12 API and the OpenCL device corresponds to an individual device in a linked device adapter, the returned node mask identifies the Direct3D 12 node corresponding to the OpenCL device. Otherwise, the returned node mask must be 1.- See Also:
- Constant Field Values
-
-