Class ARMCoreID
- java.lang.Object
-
- org.lwjgl.opencl.ARMCoreID
-
public final class ARMCoreID extends java.lang.ObjectNative bindings to the arm_core_id extension.This extension provides a built-in function (
uint arm_get_core_id( void )) which returns a unique ID for the compute unit that a work-group is running on. This value is uniform for a work-group.This value can be used for a core-specific cache or atomic pool where the storage is required to be in global memory and persistent (but not ordered) between work-groups. This does not provide any additional ordering on top of the existing guarantees between workgroups, nor does it provide any guarantee of concurrent execution.
The IDs for the compute units may not be consecutive and applications must make sure they allocate enough memory to accommodate all the compute units present on the device. A device info query allows the application to know the IDs associated with the compute units on a given device.
-
-
Field Summary
Fields Modifier and Type Field Description static intCL_DEVICE_COMPUTE_UNITS_BITFIELD_ARMDevice info property for bitfield of cores present.
-
-
-
Field Detail
-
CL_DEVICE_COMPUTE_UNITS_BITFIELD_ARM
public static final int CL_DEVICE_COMPUTE_UNITS_BITFIELD_ARM
Device info property for bitfield of cores present.- See Also:
- Constant Field Values
-
-