Top Description Fields Constructors Methods
org.lwjgl.opencl

public final Class INTELDevicePartitionByNames

extends Object
Class Inheritance

Native 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_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:

Field Summary

Modifier and TypeField and Description
public static final int
CL_DEVICE_PARTITION_BY_NAMES_INTEL

Accepted in the properties argument of CreateSubDevices.

public static final int
CL_PARTITION_BY_NAMES_LIST_END_INTEL

The name list terminator.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_DEVICE_PARTITION_BY_NAMES_INTELback to summary
public static final int CL_DEVICE_PARTITION_BY_NAMES_INTEL

Accepted in the properties argument of CreateSubDevices.

CL_PARTITION_BY_NAMES_LIST_END_INTELback to summary
public static final int CL_PARTITION_BY_NAMES_LIST_END_INTEL

The name list terminator.

Constructor Detail

INTELDevicePartitionByNamesback to summary
private INTELDevicePartitionByNames()