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
Description of image_row_pitch (the same refers to image_slice_pitch) seems mutually contradictory. First spec says:
The image_row_pitch must be zero if ... . If image_row_pitch is zero and the image is created from an external memory handle, then the image row pitch is implementation-defined.
which implies that in some circumstances image_row_pitch may be zero, in others it must be zero. In the same paragraph spec says:
The image row pitch must be ≥ image_width × the size of an image element in bytes, and must be a multiple of the size of an image element in bytes.
Shouldn't this sentence begin with: "Otherwise, the image pitch must ..." ?
The text was updated successfully, but these errors were encountered:
shajder
changed the title
contradictory wording of cl_image_desc specification
Contradictory wording of cl_image_desc specification
Mar 5, 2025
Description of
image_row_pitch
(the same refers toimage_slice_pitch
) seems mutually contradictory. First spec says:The image_row_pitch must be zero if ... . If image_row_pitch is zero and the image is created from an external memory handle, then the image row pitch is implementation-defined.
which implies that in some circumstances
image_row_pitch
may be zero, in others it must be zero. In the same paragraph spec says:The image row pitch must be ≥ image_width × the size of an image element in bytes, and must be a multiple of the size of an image element in bytes.
Shouldn't this sentence begin with: "Otherwise, the image pitch must ..." ?
The text was updated successfully, but these errors were encountered: