Khronos Public Bugzilla
Bug 765 - cl_platform and cl_ext do not match
Summary: cl_platform and cl_ext do not match
Status: RESOLVED FIXED
Alias: None
Product: OpenCL
Classification: Unclassified
Component: Header Files (show other bugs)
Version: 1.2
Hardware: PC Windows
: P3 blocker
Target Milestone: ---
Assignee: Aaftab Munshi
QA Contact: OpenCL Working Group
URL:
Keywords:
Depends on:
Blocks:
 
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.