Class EXTFloatAtomics
This extension enables programmers to perform atomic operations on floating-point numbers in memory.
An OpenCL device supporting this extension may support atomic operations on 16-bit half-precision floating-point values (fp16), 32-bit
single-precision floating-point values (fp32), or 64-bit double-precision floating-point values (fp64). For these types, an OpenCL
device may support basic atomic operations (load, store, and exchange), atomic addition and subtraction, and atomic min and max. The floating-point
numbers may be in global or local memory.
Requires CL20.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.static final intBitfield type describing the floating-point atomic capabilities of an OpenCL device.static final intBitfield type describing the floating-point atomic capabilities of an OpenCL device.static final intBitfield type describing the floating-point atomic capabilities of an OpenCL device.static final intAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.static final intBitfield type describing the floating-point atomic capabilities of an OpenCL device.static final intBitfield type describing the floating-point atomic capabilities of an OpenCL device.static final intBitfield type describing the floating-point atomic capabilities of an OpenCL device.static final intAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device. -
Method Summary
-
Field Details
-
CL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXT
public static final int CL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXTAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.- See Also:
-
CL_DEVICE_DOUBLE_FP_ATOMIC_CAPABILITIES_EXT
public static final int CL_DEVICE_DOUBLE_FP_ATOMIC_CAPABILITIES_EXTAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.- See Also:
-
CL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXT
public static final int CL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXTAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.- See Also:
-
CL_DEVICE_GLOBAL_FP_ATOMIC_LOAD_STORE_EXT
public static final int CL_DEVICE_GLOBAL_FP_ATOMIC_LOAD_STORE_EXTBitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_extSubsequent versions of this extension may add additional floating-point atomic capabilities.
- See Also:
-
CL_DEVICE_GLOBAL_FP_ATOMIC_ADD_EXT
public static final int CL_DEVICE_GLOBAL_FP_ATOMIC_ADD_EXTBitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_extSubsequent versions of this extension may add additional floating-point atomic capabilities.
- See Also:
-
CL_DEVICE_GLOBAL_FP_ATOMIC_MIN_MAX_EXT
public static final int CL_DEVICE_GLOBAL_FP_ATOMIC_MIN_MAX_EXTBitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_extSubsequent versions of this extension may add additional floating-point atomic capabilities.
- See Also:
-
CL_DEVICE_LOCAL_FP_ATOMIC_LOAD_STORE_EXT
public static final int CL_DEVICE_LOCAL_FP_ATOMIC_LOAD_STORE_EXTBitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_extSubsequent versions of this extension may add additional floating-point atomic capabilities.
- See Also:
-
CL_DEVICE_LOCAL_FP_ATOMIC_ADD_EXT
public static final int CL_DEVICE_LOCAL_FP_ATOMIC_ADD_EXTBitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_extSubsequent versions of this extension may add additional floating-point atomic capabilities.
- See Also:
-
CL_DEVICE_LOCAL_FP_ATOMIC_MIN_MAX_EXT
public static final int CL_DEVICE_LOCAL_FP_ATOMIC_MIN_MAX_EXTBitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_extSubsequent versions of this extension may add additional floating-point atomic capabilities.
- See Also:
-