Results 1 to 4 of 4

Thread: missing Double and Half FP_CONFIG

  1. #1

    missing Double and Half FP_CONFIG


    the cl_device_info enumeration miss both CL_DEVICE_DOUBLE_FP_CONFIG and CL_DEVICE_HALF_FP_CONFIG.

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



  2. #2

    Re: missing Double and Half FP_CONFIG

    Did I miss something ?

  3. #3
    Junior Member
    Join Date
    Oct 2009

    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
    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
Proudly hosted by Digital Ocean