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 |
|---|---|
| public static final int | CL_DEVICE_PARTITION_BY_NAMES_INTEL
Accepted in the |
| public static final int | CL_PARTITION_BY_NAMES_LIST_END_INTEL
The name list terminator. |
| Access | Constructor and Description |
|---|---|
| private |
| CL_DEVICE_PARTITION_BY_NAMES_INTEL | back to summary |
|---|---|
| public static final int CL_DEVICE_PARTITION_BY_NAMES_INTEL Accepted in the | |
| CL_PARTITION_BY_NAMES_LIST_END_INTEL | back to summary |
|---|---|
| public static final int CL_PARTITION_BY_NAMES_LIST_END_INTEL The name list terminator. | |
| INTELDevicePartitionByNames | back to summary |
|---|---|
| private INTELDevicePartitionByNames() | |