Khronos Public Bugzilla
Bug 553 - CL_API_SUFFIX__VERSION_1_2 is not defined in sample OpenCL 1.2 cl_platform.h
CL_API_SUFFIX__VERSION_1_2 is not defined in sample OpenCL 1.2 cl_platform.h
Status: NEW
Product: OpenCL
Classification: Unclassified
Component: Header Files
1.2
All All
: P3 normal
: ---
Assigned To: Aaftab Munshi
OpenCL Working Group
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-16 07:38 PST by Jeremy Dorfman
Modified: 2013-12-12 02:13 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Dorfman 2011-11-16 07:38:19 PST
CL_API_SUFFIX__VERSION_1_2 is not defined in the sample OpenCL 1.2 cl_platform.h. The use of CL_API_SUFFIX__VERSION_1_2 later is undefined when declaring any of the new OpenCL 1.2 functions (clCreateImage et al.).

Steps to reproduce:
#include <CL/opencl.h>

This also applies to CL_EXT_SUFFIX__VERSION_1_2 and CL_EXT_SUFFIX__VERSION_1_1_DEPRECATED.