Top Fields Constructors Methods
org.lwjgl.opencl

public final Class EXTDeviceFission

extends Object
Class Inheritance
Imports
org.lwjgl.*, java.nio.*

Field Summary

Modifier and TypeField 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 <properties> parameter of clCreateSubDeviceEXT:

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 <properties> parameter of clCreateSubDeviceEXT:

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 <properties> parameter of clCreateSubDeviceEXT:

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 <properties> parameter of clCreateSubDeviceEXT:

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 <properties> parameter of clCreateSubDeviceEXT:

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 <properties> parameter of clCreateSubDeviceEXT:

public static final int
CL_DEVICE_AFFINITY_DOMAINS_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

public static final int
CL_DEVICE_PARENT_DEVICE_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

public static final int
CL_DEVICE_PARITION_TYPES_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

public static final int
CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT

Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:

public static final int
CL_DEVICE_PARTITION_BY_COUNTS_EXT

Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:

public static final int
CL_DEVICE_PARTITION_BY_NAMES_EXT

Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:

public static final int
CL_DEVICE_PARTITION_EQUALLY_EXT

Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:

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 <param_name> argument of clGetDeviceInfo:

public static final int
CL_DEVICE_REFERENCE_COUNT_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

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 <properties> parameter of clCreateSubDeviceEXT:

public static final int
CL_PARTITION_BY_NAMES_LIST_END_EXT

Accepted as the partition names list terminator in the <properties> parameter of clCreateSubDeviceEXT:

public static final int
CL_PROPERTIES_LIST_END_EXT

Accepted as the property list terminator in the <properties> parameter of clCreateSubDeviceEXT:

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static int
clCreateSubDevicesEXT(CLDevice in_device, LongBuffer properties, PointerBuffer out_devices, IntBuffer num_devices)

public static int

Returns:

the error code
clReleaseDeviceEXT
(CLDevice
the parent CLDevice

device
)

Warning

LWJGL will not automatically release any objects associated with sub-devices.

public static int
pack-priv static native int
nclCreateSubDevicesEXT(long in_device, long properties, int out_devices_num_entries, long out_devices, long num_devices, long function_pointer)

pack-priv static native int
nclReleaseDeviceEXT(long device, long function_pointer)

pack-priv static native int
nclRetainDeviceEXT(long device, long function_pointer)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CL_AFFINITY_DOMAIN_L1_CACHE_EXTback 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 <properties> parameter of clCreateSubDeviceEXT:

CL_AFFINITY_DOMAIN_L2_CACHE_EXTback 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 <properties> parameter of clCreateSubDeviceEXT:

CL_AFFINITY_DOMAIN_L3_CACHE_EXTback 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 <properties> parameter of clCreateSubDeviceEXT:

CL_AFFINITY_DOMAIN_L4_CACHE_EXTback 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 <properties> parameter of clCreateSubDeviceEXT:

CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXTback 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 <properties> parameter of clCreateSubDeviceEXT:

CL_AFFINITY_DOMAIN_NUMA_EXTback 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 <properties> parameter of clCreateSubDeviceEXT:

CL_DEVICE_AFFINITY_DOMAINS_EXTback to summary
public static final int CL_DEVICE_AFFINITY_DOMAINS_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

CL_DEVICE_PARENT_DEVICE_EXTback to summary
public static final int CL_DEVICE_PARENT_DEVICE_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

CL_DEVICE_PARITION_TYPES_EXTback to summary
public static final int CL_DEVICE_PARITION_TYPES_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXTback to summary
public static final int CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT

Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:

CL_DEVICE_PARTITION_BY_COUNTS_EXTback to summary
public static final int CL_DEVICE_PARTITION_BY_COUNTS_EXT

Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:

CL_DEVICE_PARTITION_BY_NAMES_EXTback to summary
public static final int CL_DEVICE_PARTITION_BY_NAMES_EXT

Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:

CL_DEVICE_PARTITION_EQUALLY_EXTback to summary
public static final int CL_DEVICE_PARTITION_EQUALLY_EXT

Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:

CL_DEVICE_PARTITION_FAILED_EXTback 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_EXTback to summary
public static final int CL_DEVICE_PARTITION_STYLE_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

CL_DEVICE_REFERENCE_COUNT_EXTback to summary
public static final int CL_DEVICE_REFERENCE_COUNT_EXT

Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:

CL_INVALID_PARTITION_COUNT_EXTback 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_EXTback 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_EXTback to summary
public static final int CL_PARTITION_BY_COUNTS_LIST_END_EXT

Accepted as the partition counts list terminator in the <properties> parameter of clCreateSubDeviceEXT:

CL_PARTITION_BY_NAMES_LIST_END_EXTback to summary
public static final int CL_PARTITION_BY_NAMES_LIST_END_EXT

Accepted as the partition names list terminator in the <properties> parameter of clCreateSubDeviceEXT:

CL_PROPERTIES_LIST_END_EXTback to summary
public static final int CL_PROPERTIES_LIST_END_EXT

Accepted as the property list terminator in the <properties> parameter of clCreateSubDeviceEXT:

Constructor Detail

EXTDeviceFissionback to summary
private EXTDeviceFission()

Method Detail

clCreateSubDevicesEXTback to summary
public static int clCreateSubDevicesEXT(CLDevice in_device, LongBuffer properties, PointerBuffer out_devices, IntBuffer num_devices)
clReleaseDeviceEXTback to summary
public static int clReleaseDeviceEXT(CLDevice device)

Warning

LWJGL will not automatically release any objects associated with sub-devices. The user is responsible for tracking and releasing everything prior to calling this method.

Parameters
device:CLDevice

the parent CLDevice

Returns:int

the error code

clRetainDeviceEXTback to summary
public static int clRetainDeviceEXT(CLDevice device)
nclCreateSubDevicesEXTback to summary
pack-priv static native int nclCreateSubDevicesEXT(long in_device, long properties, int out_devices_num_entries, long out_devices, long num_devices, long function_pointer)
nclReleaseDeviceEXTback to summary
pack-priv static native int nclReleaseDeviceEXT(long device, long function_pointer)
nclRetainDeviceEXTback to summary
pack-priv static native int nclRetainDeviceEXT(long device, long function_pointer)