public final class INTELDevicePartitionByNames
extends java.lang.Object
This extension allows the user to create sub-devices containing specific compute units. DEVICE_PARTITION_BY_NAMES_INTEL is a
cl_device_partition_property that is followed by a list of compute unit names, teminated by PARTITION_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 with
DEVICE_PARTITION_BY_NAMES_INTEL cannot be further sub-divided. A sub-device created with another partitioning mode cannot be further
sub-divided by DEVICE_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:
| Modifier and Type | Field and Description |
|---|---|
static int |
CL_DEVICE_PARTITION_BY_NAMES_INTEL
Accepted in the
properties argument of CreateSubDevices. |
static int |
CL_PARTITION_BY_NAMES_LIST_END_INTEL
The name list terminator.
|
public static final int CL_DEVICE_PARTITION_BY_NAMES_INTEL
properties argument of CreateSubDevices.public static final int CL_PARTITION_BY_NAMES_LIST_END_INTEL
Copyright LWJGL. All Rights Reserved. License terms.