Add more get image info functions.
authorZhigang Gong <zhigang.gong@linux.intel.com>
Mon, 20 May 2013 08:38:51 +0000 (16:38 +0800)
committerZhigang Gong <zhigang.gong@linux.intel.com>
Tue, 21 May 2013 08:43:55 +0000 (16:43 +0800)
commitaf5abf2fe6eb24e6f0ed31c62da68fd5de585e94
treee3d878c4e2a6eaaaf32c6baffc701cb6a836dcef
parenta7ea35cfac775c250fe9adb163675eb0e5168d97
Add more get image info functions.

Add get image depth/channel data type/channel order/dim support.
Now, only those functions for the unsupported image type have not
been implemented. The unsupported image types are as below:
image1d_t,image1d_buffer_t,image1d_array_t,image2d_array_t.

Signed-off-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Tested-by: Simon Richter <Simon.Richter@hogyros.de>
backend/src/ir/image.cpp
backend/src/ir/instruction.hpp
backend/src/llvm/llvm_gen_backend.cpp
backend/src/llvm/llvm_gen_ocl_function.hxx
backend/src/ocl_stdlib.h
src/cl_command_queue.c