Class EXTFloatAtomics

java.lang.Object
org.lwjgl.opencl.EXTFloatAtomics

public final class EXTFloatAtomics extends Object
Native 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 Details

    • CL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXT

      public static final int CL_DEVICE_SINGLE_FP_ATOMIC_CAPABILITIES_EXT
      Accepted value for the param_name parameter to GetDeviceInfo to 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_EXT
      Accepted value for the param_name parameter to GetDeviceInfo to 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_EXT
      Accepted value for the param_name parameter to GetDeviceInfo to 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_EXT
      Bitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_ext

      Subsequent 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_EXT
      Bitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_ext

      Subsequent 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_EXT
      Bitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_ext

      Subsequent 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_EXT
      Bitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_ext

      Subsequent 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_EXT
      Bitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_ext

      Subsequent 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_EXT
      Bitfield type describing the floating-point atomic capabilities of an OpenCL device. (cl_device_fp_atomic_capabilities_ext

      Subsequent versions of this extension may add additional floating-point atomic capabilities.

      See Also: