Results 1 to 2 of 2

Thread: CL_INVALID_DEVICE_LIST seems to be missing in cl.h

  1. #1
    Junior Member
    Join Date
    Jan 2009

    CL_INVALID_DEVICE_LIST seems to be missing in cl.h

    I was doing a dummy implementation and I find out that the definition of CL_INVALID_DEVICE_LIST is missing in the .h file,
    it is supposed to be returned by clCreateContext if the list of devices specified cannot be used together to create a context.

    Should not be defined there? Perhaps in between the following lines

    #define CL_INVALID_VALUE -30
    #define CL_INVALID_DEVICE_TYPE -31
    #define CL_INVALID_DEVICE -32
    #define CL_INVALID_CONTEXT -33


  2. #2
    Junior Member
    Join Date
    Dec 2008
    Vancouver, Canada

    Re: CL_INVALID_DEVICE_LIST seems to be missing in cl.h

    Yes. I suggested using CL_INVALID_DEVICE in the errata thread. Lists aren't really treated separately from devices in most of the API.
    Ralph Giles
    Artifex Software, Inc.

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. eglBindTexImage missing?
    By freber in forum OpenGL ES general technical discussions
    Replies: 1
    Last Post: 11-30-2007, 06:25 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