Results 1 to 4 of 4

Thread: missing Double and Half FP_CONFIG

  1. #1

    missing Double and Half FP_CONFIG

    Hi

    At http://www.khronos.org/registry/cl/api/1.0/cl.h
    the cl_device_info enumeration miss both CL_DEVICE_DOUBLE_FP_CONFIG and CL_DEVICE_HALF_FP_CONFIG.
    Only CL_DEVICE_SINGLE_FP_CONFIG is there.

    The man page for clGetDeviceInfo mentions all afore mentioned enumerations as valid parameters.

    Thanks

    A.

  2. #2

    Re: missing Double and Half FP_CONFIG

    Did I miss something ?

  3. #3
    Junior Member
    Join Date
    Oct 2009
    Posts
    7

    Re: missing Double and Half FP_CONFIG

    CL_DEVICE_DOUBLE_FP_CONFIG + CL_DEVICE_HALF_FP_CONFIG are both part of extensions (cl_khr_fp64 + cl_khr_fp16), so they will only appear in cl_ext.h (which isn't available atm from Khronos, but you can find probably find a copy of it in SDK from NVidia/AMD/Apple/etc)

  4. #4

    Re: missing Double and Half FP_CONFIG

    Thanks for reply.

    If CL_DEVICE_DOUBLE_FP_CONFIG and CL_DEVICE_HALF_FP_CONFIG are defined by vendors in cl_ext.h, it may broken if run in another hardware, as each vendor may set it's own constant value.
    In other words, it may be a not portable feature.

    Am I wrong ?

Similar Threads

  1. glOrtho is missing?
    By Esaras in forum OpenGL ES 2X - for programmable 3D graphics pipelines
    Replies: 5
    Last Post: 10-27-2011, 05:17 AM
  2. half conversion in host code
    By coleb in forum OpenCL
    Replies: 2
    Last Post: 10-02-2009, 07:45 PM

Posting Permissions

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