update to OpenCL 1.1 header
authorHomer Hsing <homer.xing@intel.com>
Wed, 19 Jun 2013 06:49:51 +0000 (14:49 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Wed, 19 Jun 2013 07:50:53 +0000 (15:50 +0800)
commit89c8e77f9245c4acab6c18390b0fef07b1ba78f2
tree26d913ad626d5ecb11358f89a0b5e3aa1fc42bea
parent2cacc799f7ef1dff006c97360298e4f6e847d1e9
update to OpenCL 1.1 header

Based on our current progress, we plan to implement OpenCL 1.1 rather
than OpenCL 1.2 for the next release. Thus we downgrade the header file
to 1.1 in this commit.

put OpenCL 1.1 header in include/CL/

add OpenCL 1.2 defs, used by some code, by
 "#ifndef CL_VERSION_1.2"
 " some OpenCL 1.2 defs"
 "#endif"

add OCL_CREATE_IMAGE2D, OCL_CREATE_IMAGE3D,
    OCL_CREATE_GL_IMAGE2D, OCL_CREATE_GL_IMAGE3D

update test cases

Signed-off-by: Homer Hsing <homer.xing@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
28 files changed:
include/CL/cl.h
include/CL/cl.hpp
include/CL/cl_d3d10.h
include/CL/cl_d3d11.h [deleted file]
include/CL/cl_d3d9.h [deleted file]
include/CL/cl_dx9_media_sharing.h [deleted file]
include/CL/cl_ext.h
include/CL/cl_gl.h
include/CL/cl_gl_ext.h
include/CL/cl_platform.h
include/CL/opencl.h
src/cl_api.c
src/cl_device_id.c
src/cl_mem.h
src/cl_mem_gl.c
src/intel/intel_gpgpu.c
utests/compiler_box_blur_image.cpp
utests/compiler_copy_image.cpp
utests/compiler_copy_image1.cpp
utests/compiler_copy_image_3d.cpp
utests/compiler_fill_gl_image.cpp
utests/compiler_fill_image.cpp
utests/compiler_fill_image0.cpp
utests/compiler_fill_image_3d.cpp
utests/compiler_fill_image_3d_2.cpp
utests/compiler_get_image_info.cpp
utests/compiler_movforphi_undef.cpp
utests/utest_helper.hpp