Package org.lwjgl.opencl
Class EXTFloatAtomics
- java.lang.Object
-
- org.lwjgl.opencl.EXTFloatAtomics
-
public final class EXTFloatAtomics extends java.lang.ObjectNative bindings to the ext_float_atomics extension.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
Fields Modifier and Type Field Description static intCL_DEVICE_DOUBLE_FP_ATOMIC_CAPABILITIES_EXTAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.static intCL_DEVICE_GLOBAL_FP_ATOMIC_ADD_EXT
CL_DEVICE_GLOBAL_FP_ATOMIC_LOAD_STORE_EXT
CL_DEVICE_GLOBAL_FP_ATOMIC_MIN_MAX_EXTBitfield type describing the floating-point atomic capabilities of an OpenCL device.static intCL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXTAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.static intCL_DEVICE_LOCAL_FP_ATOMIC_ADD_EXT
CL_DEVICE_LOCAL_FP_ATOMIC_LOAD_STORE_EXT
CL_DEVICE_LOCAL_FP_ATOMIC_MIN_MAX_EXTBitfield type describing the floating-point atomic capabilities of an OpenCL device.static intCL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXTAccepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.
-
-
-
Field Detail
-
CL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXT, CL_DEVICE_DOUBLE_FP_ATOMIC_CAPABILITIES_EXT, CL_DEVICE_HALF_FP_ATOMIC_CAPABILITIES_EXT
Accepted value for theparam_nameparameter toGetDeviceInfoto query the floating-point atomic capabilities of an OpenCL device.
-
CL_DEVICE_GLOBAL_FP_ATOMIC_LOAD_STORE_EXT, CL_DEVICE_GLOBAL_FP_ATOMIC_ADD_EXT, CL_DEVICE_GLOBAL_FP_ATOMIC_MIN_MAX_EXT, CL_DEVICE_LOCAL_FP_ATOMIC_LOAD_STORE_EXT, CL_DEVICE_LOCAL_FP_ATOMIC_ADD_EXT, CL_DEVICE_LOCAL_FP_ATOMIC_MIN_MAX_EXT
Bitfield 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.
-
-