Results 1 to 2 of 2

Thread: Inconsistent description of cl_image_format in 1.1 man pages

  1. #1
    Junior Member
    Join Date
    Aug 2009
    Posts
    4

    Inconsistent description of cl_image_format in 1.1 man pages

    The description of various cl_image_format data types in the 1.1 man pages and the 1.1 spec appears to be inconsistent.

    From the 1.1 man page table (http://www.khronos.org/registry/cl/sdk/ ... ormat.html)

    headed

    Image Channel Data Type Description

    CL_SNORM_INT8 Each channel component is a normalized signed 8-bit integer value.
    CL_SNORM_INT16 Each channel component is a normalized signed 16-bit integer value.
    CL_UNORM_INT8 Each channel component is a normalized unsigned 8-bit integer value.
    CL_UNORM_INT16 Each channel component is a normalized unsigned 16-bit integer value.

    This is also present in the 1.1 spec. http://www.khronos.org/registry/cl/spec ... df#page=78


    Please can someone clarify and confirm that

    CL_UNORM_xxx are normalized values

    If they are normalized, how does CL_SNORM_x differ from CL_UNORM_x ?

    Or is this a typo in the standard and the spec?

    Regards

    Tim

  2. #2
    Junior Member
    Join Date
    Aug 2009
    Posts
    4

    Re: Inconsistent description of cl_image_format in 1.1 man p

    Sorry its my dyslexia the difference is signed vs unsigned
    Can the moderator please remove the post to avoid any confusion

Similar Threads

  1. Mistakes in CL man pages
    By ljbade in forum OpenCL
    Replies: 2
    Last Post: 01-27-2011, 02:13 PM
  2. Replies: 2
    Last Post: 11-24-2009, 08:52 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •