This extension provides an interface for sub-dividing an OpenCL device into multiple sub-devices. There are a number of cases in which a typical user would like to subdivide a device:
Typically these are areas where some level of additional control is required to get optimal performance beyond that provided by standard OpenCL 1.1 APIs. Proper use of this interface assumes some detailed knowledge of the devices in question.
| Modifier and Type | Field and Description |
|---|---|
| public static final int | CL_AFFINITY_DOMAIN_L1_CACHE_EXT
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the |
| public static final int | CL_AFFINITY_DOMAIN_L2_CACHE_EXT
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the |
| public static final int | CL_AFFINITY_DOMAIN_L3_CACHE_EXT
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the |
| public static final int | CL_AFFINITY_DOMAIN_L4_CACHE_EXT
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the |
| public static final int | CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the |
| public static final int | CL_AFFINITY_DOMAIN_NUMA_EXT
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the |
| public static final int | CL_DEVICE_AFFINITY_DOMAINS_EXT
Accepted as a property being queried in the |
| public static final int | CL_DEVICE_PARENT_DEVICE_EXT
Accepted as a property being queried in the |
| public static final int | CL_DEVICE_PARITION_TYPES_EXT
Accepted as a property being queried in the |
| public static final int | CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT
Accepted as a property name in the |
| public static final int | CL_DEVICE_PARTITION_BY_COUNTS_EXT
Accepted as a property name in the |
| public static final int | CL_DEVICE_PARTITION_BY_NAMES_EXT
Accepted as a property name in the |
| public static final int | CL_DEVICE_PARTITION_EQUALLY_EXT
Accepted as a property name in the |
| public static final int | CL_DEVICE_PARTITION_FAILED_EXT
Returned by clCreateSubDevicesEXT when the indicated partition scheme is supported by the implementation, but the implementation can not further partition the device in this way. |
| public static final int | CL_DEVICE_PARTITION_STYLE_EXT
Accepted as a property being queried in the |
| public static final int | CL_DEVICE_REFERENCE_COUNT_EXT
Accepted as a property being queried in the |
| public static final int | CL_INVALID_PARTITION_COUNT_EXT
Returned by clCreateSubDevicesEXT when the total number of compute units requested exceeds CL_DEVICE_MAX_COMPUTE_UNITS, or the number of compute units for any one sub-device is less than 1. |
| public static final int | CL_INVALID_PARTITION_NAME_EXT
Returned by clCreateSubDevicesEXT when a compute unit name appearing in a name list following CL_DEVICE_PARTITION_BY_NAMES_EXT is not in range. |
| public static final int | CL_PARTITION_BY_COUNTS_LIST_END_EXT
Accepted as the partition counts list terminator in the |
| public static final int | CL_PARTITION_BY_NAMES_LIST_END_EXT
Accepted as the partition names list terminator in the |
| public static final int | CL_PROPERTIES_LIST_END_EXT
Accepted as the property list terminator in the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | clCreateSubDevicesEXT(long in_device, LongBuffer properties, PointerBuffer out_devices, IntBuffer num_devices)
|
| public static int | clCreateSubDevicesEXT(long in_device, long[] properties, PointerBuffer out_devices, int[] num_devices)
Array version of: |
| public static int | |
| public static int | |
| public static int | nclCreateSubDevicesEXT(long in_device, long properties, int num_entries, long out_devices, long num_devices)
|
| CL_AFFINITY_DOMAIN_L1_CACHE_EXT | back to summary |
|---|---|
| public static final int CL_AFFINITY_DOMAIN_L1_CACHE_EXT Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the | |
| CL_AFFINITY_DOMAIN_L2_CACHE_EXT | back to summary |
|---|---|
| public static final int CL_AFFINITY_DOMAIN_L2_CACHE_EXT Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the | |
| CL_AFFINITY_DOMAIN_L3_CACHE_EXT | back to summary |
|---|---|
| public static final int CL_AFFINITY_DOMAIN_L3_CACHE_EXT Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the | |
| CL_AFFINITY_DOMAIN_L4_CACHE_EXT | back to summary |
|---|---|
| public static final int CL_AFFINITY_DOMAIN_L4_CACHE_EXT Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the | |
| CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT | back to summary |
|---|---|
| public static final int CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the | |
| CL_AFFINITY_DOMAIN_NUMA_EXT | back to summary |
|---|---|
| public static final int CL_AFFINITY_DOMAIN_NUMA_EXT Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the | |
| CL_DEVICE_AFFINITY_DOMAINS_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_AFFINITY_DOMAINS_EXT Accepted as a property being queried in the | |
| CL_DEVICE_PARENT_DEVICE_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_PARENT_DEVICE_EXT Accepted as a property being queried in the | |
| CL_DEVICE_PARITION_TYPES_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_PARITION_TYPES_EXT Accepted as a property being queried in the | |
| CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT Accepted as a property name in the | |
| CL_DEVICE_PARTITION_BY_COUNTS_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_PARTITION_BY_COUNTS_EXT Accepted as a property name in the | |
| CL_DEVICE_PARTITION_BY_NAMES_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_PARTITION_BY_NAMES_EXT Accepted as a property name in the | |
| CL_DEVICE_PARTITION_EQUALLY_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_PARTITION_EQUALLY_EXT Accepted as a property name in the | |
| CL_DEVICE_PARTITION_FAILED_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_PARTITION_FAILED_EXT Returned by clCreateSubDevicesEXT when the indicated partition scheme is supported by the implementation, but the implementation can not further partition the device in this way. | |
| CL_DEVICE_PARTITION_STYLE_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_PARTITION_STYLE_EXT Accepted as a property being queried in the | |
| CL_DEVICE_REFERENCE_COUNT_EXT | back to summary |
|---|---|
| public static final int CL_DEVICE_REFERENCE_COUNT_EXT Accepted as a property being queried in the | |
| CL_INVALID_PARTITION_COUNT_EXT | back to summary |
|---|---|
| public static final int CL_INVALID_PARTITION_COUNT_EXT Returned by clCreateSubDevicesEXT when the total number of compute units requested exceeds CL_DEVICE_MAX_COMPUTE_UNITS, or the number of compute units for any one sub-device is less than 1. | |
| CL_INVALID_PARTITION_NAME_EXT | back to summary |
|---|---|
| public static final int CL_INVALID_PARTITION_NAME_EXT Returned by clCreateSubDevicesEXT when a compute unit name appearing in a name list following CL_DEVICE_PARTITION_BY_NAMES_EXT is not in range. | |
| CL_PARTITION_BY_COUNTS_LIST_END_EXT | back to summary |
|---|---|
| public static final int CL_PARTITION_BY_COUNTS_LIST_END_EXT Accepted as the partition counts list terminator in the | |
| CL_PARTITION_BY_NAMES_LIST_END_EXT | back to summary |
|---|---|
| public static final int CL_PARTITION_BY_NAMES_LIST_END_EXT Accepted as the partition names list terminator in the | |
| CL_PROPERTIES_LIST_END_EXT | back to summary |
|---|---|
| public static final int CL_PROPERTIES_LIST_END_EXT Accepted as the property list terminator in the | |
| EXTDeviceFission | back to summary |
|---|---|
| protected EXTDeviceFission() | |
| clCreateSubDevicesEXT | back to summary |
|---|---|
public static int clCreateSubDevicesEXT(long in_device, LongBuffer properties, PointerBuffer out_devices, IntBuffer num_devices)
| |
| clCreateSubDevicesEXT | back to summary |
|---|---|
| public static int clCreateSubDevicesEXT(long in_device, long[] properties, PointerBuffer out_devices, int[] num_devices) Array version of:
| |
| clReleaseDeviceEXT | back to summary |
|---|---|
public static int clReleaseDeviceEXT(long device)
| |
| clRetainDeviceEXT | back to summary |
|---|---|
public static int clRetainDeviceEXT(long device)
| |
| nclCreateSubDevicesEXT | back to summary |
|---|---|
| public static int nclCreateSubDevicesEXT(long in_device, long properties, int num_entries, long out_devices, long num_devices) | |