Khronos Public Bugzilla
Bug 765 - cl_platform and cl_ext do not match
cl_platform and cl_ext do not match
Status: RESOLVED FIXED
Product: OpenCL
Classification: Unclassified
Component: Header Files
1.2
PC Windows
: P3 blocker
: ---
Assigned To: Aaftab Munshi
OpenCL Working Group
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-09 15:26 PST by rmustakos
Modified: 2013-02-12 03:31 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rmustakos 2013-01-09 15:26:32 PST
cl_platform.h has the following #defines
    #define CL_API_SUFFIX__VERSION_1_2
    #define CL_EXT_SUFFIX__VERSION_1_2

cl_ext.h has the follow mistaken lines:
extern CL_API_ENTRY cl_int CL_API_CALL clTerminateContextKHR(cl_context /* context */) CL_EXT_SUFFIX_VERSION_1_2;

typedef CL_API_ENTRY cl_int (CL_API_CALL *clTerminateContextKHR_fn)(cl_context /* context */) CL_EXT_SUFFIX_VERSION_1_2;

CL_EXT_SUFFIX__VERSION_1_2     cl_platform.h
CL_EXT_SUFFIX_VERSION_1_2      cl_ext.h

It's trivial, but it blocks compiles.
Thanks
Richard Mustakos
Comment 1 Jon Leech 2013-02-12 03:31:14 PST
Updates have been posted to the Registry page which (I'm told) address this.