You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that OpenCL 1.2 extension cl_khr_image2d_from_buffer is not completely supported.
This allows zero-copy creation of a 2D image from a buffer, provided that the buffer satisfies CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT and CL_DEVICE_IMAGE_PITCH_ALIGNMENT requirements.
It appears that pyopencl actually defines the CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT and CL_DEVICE_IMAGE_PITCH_ALIGNMENT attributes when cl_khr_image2d_from_buffer is defined, but still does not allow use of the buffer argument when constructing an Image with 2D shape.
Apologies if I am missing something. Hope this report was helpful.
It appears that OpenCL 1.2 extension cl_khr_image2d_from_buffer is not completely supported.
This allows zero-copy creation of a 2D image from a buffer, provided that the buffer satisfies CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT and CL_DEVICE_IMAGE_PITCH_ALIGNMENT requirements.
It appears that pyopencl actually defines the CL_DEVICE_IMAGE_BASE_ADDRESS_ALIGNMENT and CL_DEVICE_IMAGE_PITCH_ALIGNMENT attributes when cl_khr_image2d_from_buffer is defined, but still does not allow use of the buffer argument when constructing an Image with 2D shape.
Apologies if I am missing something. Hope this report was helpful.
reference:
https://www.khronos.org/registry/OpenCL/specs/opencl-1.2-extensions.pdf https://software.intel.com/sites/default/files/managed/87/11/ImageFromBuffer.pdf
The text was updated successfully, but these errors were encountered: