Package org.lwjgl.opencl
Class EXTDeviceFission
java.lang.Object
org.lwjgl.opencl.EXTDeviceFission
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:static final int
Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:static final int
Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:static final int
Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:static final int
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.static final int
Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:static final int
Accepted as a property being queried in the <param_name> argument of clGetDeviceInfo:static final int
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.static final int
Returned by clCreateSubDevicesEXT when a compute unit name appearing in a name list following CL_DEVICE_PARTITION_BY_NAMES_EXT is not in range.static final int
Accepted as the partition counts list terminator in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as the partition names list terminator in the <properties> parameter of clCreateSubDeviceEXT:static final int
Accepted as the property list terminator in the <properties> parameter of clCreateSubDeviceEXT: -
Method Summary
Modifier and TypeMethodDescriptionstatic int
clCreateSubDevicesEXT
(CLDevice in_device, LongBuffer properties, PointerBuffer out_devices, IntBuffer num_devices) static int
clReleaseDeviceEXT
(CLDevice device) Warning: LWJGL will not automatically release any objects associated with sub-devices.static int
clRetainDeviceEXT
(CLDevice device)
-
Field Details
-
CL_DEVICE_PARTITION_EQUALLY_EXT
public static final int CL_DEVICE_PARTITION_EQUALLY_EXTAccepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_DEVICE_PARTITION_BY_COUNTS_EXT
public static final int CL_DEVICE_PARTITION_BY_COUNTS_EXTAccepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_DEVICE_PARTITION_BY_NAMES_EXT
public static final int CL_DEVICE_PARTITION_BY_NAMES_EXTAccepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXT
public static final int CL_DEVICE_PARTITION_BY_AFFINITY_DOMAIN_EXTAccepted as a property name in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_AFFINITY_DOMAIN_L1_CACHE_EXT
public static final int CL_AFFINITY_DOMAIN_L1_CACHE_EXTAccepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_AFFINITY_DOMAIN_L2_CACHE_EXT
public static final int CL_AFFINITY_DOMAIN_L2_CACHE_EXTAccepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_AFFINITY_DOMAIN_L3_CACHE_EXT
public static final int CL_AFFINITY_DOMAIN_L3_CACHE_EXTAccepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_AFFINITY_DOMAIN_L4_CACHE_EXT
public static final int CL_AFFINITY_DOMAIN_L4_CACHE_EXTAccepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_AFFINITY_DOMAIN_NUMA_EXT
public static final int CL_AFFINITY_DOMAIN_NUMA_EXTAccepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXT
public static final int CL_AFFINITY_DOMAIN_NEXT_FISSIONABLE_EXTAccepted as a property name, when accompanying the CL_DEVICE_PARITION_BY_AFFINITY_DOMAIN_EXT property, in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_DEVICE_PARENT_DEVICE_EXT
public static final int CL_DEVICE_PARENT_DEVICE_EXTAccepted as a property being queried in the <param_name> argument of clGetDeviceInfo:- See Also:
-
CL_DEVICE_PARITION_TYPES_EXT
public static final int CL_DEVICE_PARITION_TYPES_EXTAccepted as a property being queried in the <param_name> argument of clGetDeviceInfo:- See Also:
-
CL_DEVICE_AFFINITY_DOMAINS_EXT
public static final int CL_DEVICE_AFFINITY_DOMAINS_EXTAccepted as a property being queried in the <param_name> argument of clGetDeviceInfo:- See Also:
-
CL_DEVICE_REFERENCE_COUNT_EXT
public static final int CL_DEVICE_REFERENCE_COUNT_EXTAccepted as a property being queried in the <param_name> argument of clGetDeviceInfo:- See Also:
-
CL_DEVICE_PARTITION_STYLE_EXT
public static final int CL_DEVICE_PARTITION_STYLE_EXTAccepted as a property being queried in the <param_name> argument of clGetDeviceInfo:- See Also:
-
CL_PROPERTIES_LIST_END_EXT
public static final int CL_PROPERTIES_LIST_END_EXTAccepted as the property list terminator in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_PARTITION_BY_COUNTS_LIST_END_EXT
public static final int CL_PARTITION_BY_COUNTS_LIST_END_EXTAccepted as the partition counts list terminator in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_PARTITION_BY_NAMES_LIST_END_EXT
public static final int CL_PARTITION_BY_NAMES_LIST_END_EXTAccepted as the partition names list terminator in the <properties> parameter of clCreateSubDeviceEXT:- See Also:
-
CL_DEVICE_PARTITION_FAILED_EXT
public static final int CL_DEVICE_PARTITION_FAILED_EXTReturned by clCreateSubDevicesEXT when the indicated partition scheme is supported by the implementation, but the implementation can not further partition the device in this way.- See Also:
-
CL_INVALID_PARTITION_COUNT_EXT
public static final int CL_INVALID_PARTITION_COUNT_EXTReturned 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.- See Also:
-
CL_INVALID_PARTITION_NAME_EXT
public static final int CL_INVALID_PARTITION_NAME_EXTReturned by clCreateSubDevicesEXT when a compute unit name appearing in a name list following CL_DEVICE_PARTITION_BY_NAMES_EXT is not in range.- See Also:
-
-
Method Details
-
clRetainDeviceEXT
-
clReleaseDeviceEXT
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
- the parent CLDevice- Returns:
- the error code
-
clCreateSubDevicesEXT
public static int clCreateSubDevicesEXT(CLDevice in_device, LongBuffer properties, PointerBuffer out_devices, IntBuffer num_devices)
-