Class KHRImage2DFromBuffer


  • public final class KHRImage2DFromBuffer
    extends java.lang.Object
    Native bindings to the khr_image2d_from_buffer extension.
    • Field Detail

      • CL_DEVICE_IMAGE_PITCH_ALIGNMENT

        public static final int CL_DEVICE_IMAGE_PITCH_ALIGNMENT
        Accepted as the param_name parameter of GetDeviceInfo.

        Returns the row pitch alignment size in pixels for images created from a buffer. The value returned must be a power of 2. If the device does not support images, this value should be 0.

        See Also:
        Constant Field Values
      • CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT

        public static final int CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT
        Accepted as the param_name parameter of GetDeviceInfo.

        This query should be used when an image is created from a buffer which was created using MEM_USE_HOST_PTR. The value returned must be a power of 2.

        This query specifies the minimum alignment in pixels of the host_ptr specified to CreateBuffer. If the device does not support images, this value should be 0.

        See Also:
        Constant Field Values