Class INTELDevicePartitionByNames
- java.lang.Object
-
- org.lwjgl.opencl.INTELDevicePartitionByNames
-
public final class INTELDevicePartitionByNames extends java.lang.ObjectNative bindings to the intel_device_partition_by_names extension.This extension allows the user to create sub-devices containing specific compute units.
DEVICE_PARTITION_BY_NAMES_INTELis acl_device_partition_propertythat is followed by a list of compute unit names, teminated byPARTITION_BY_NAMES_LIST_END_INTEL. Compute unit names are integers that count up from zero to the number of compute units minus one. Only one sub-device may be created at a time with this selector. An individual compute unit name may not appear more than once in the sub-device description. A sub-device created withDEVICE_PARTITION_BY_NAMES_INTELcannot be further sub-divided. A sub-device created with another partitioning mode cannot be further sub-divided byDEVICE_PARTITION_BY_NAMES_INTEL.Example: To create a three compute unit sub-device using compute units, [ 0, 1, 3 ], pass:
[
DEVICE_PARTITION_BY_NAMES_INTEL, 0, 1, 3,PARTITION_BY_NAMES_LIST_END_INTEL, 0 ]The meaning of these numbers are, in order:
- 0 the name of the first compute unit in the sub-device
- 1 the name of the second compute unit in the sub-device
- 3 the name of the third compute unit in the sub-device
-
-
Field Summary
Fields Modifier and Type Field and Description static intCL_DEVICE_PARTITION_BY_NAMES_INTELAccepted in thepropertiesargument ofCreateSubDevices.static intCL_PARTITION_BY_NAMES_LIST_END_INTELThe name list terminator.
-
-
-
Field Detail
-
CL_DEVICE_PARTITION_BY_NAMES_INTEL
public static final int CL_DEVICE_PARTITION_BY_NAMES_INTEL
Accepted in thepropertiesargument ofCreateSubDevices.- See Also:
- Constant Field Values
-
CL_PARTITION_BY_NAMES_LIST_END_INTEL
public static final int CL_PARTITION_BY_NAMES_LIST_END_INTEL
The name list terminator.- See Also:
- Constant Field Values
-
-