Khronos Public Bugzilla
Bug 653 - Some errors in documentation: cl_image_desc, clCreateImage
Some errors in documentation: cl_image_desc, clCreateImage
Status: NEW
Product: OpenCL
Classification: Unclassified
Component: Man Pages, Reference Card & Other Documentation
1.2
PC All
: P3 minor
: ---
Assigned To: Neil Trevett
OpenCL Working Group
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-24 10:02 PDT by Ruwan Fernando
Modified: 2012-05-24 10:02 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruwan Fernando 2012-05-24 10:02:41 PDT
1)
image_type member missing in 
typedef struct _cl_image_desc {
          size_t image_width;
          size_t image_height;
          size_t image_depth;
          size_t image_array_size;
          size_t image_row_pitch;
          size_t image_slice_pitch;
          cl_uint num_mip_levels;
          cl_uint num_samples;
          cl_mem buffer;
}cl_image_desc;
link: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/imageDescriptor.html

2)
wrong link of "cl_image_desc" in clCreateImage function (actually it's linking to cl_image_format.html page)
link: http://www.khronos.org/registry/cl/sdk/1.2/docs/man/xhtml/clCreateImage.html