fix piglit get kernel info FUNCTION ATTRIBUTE fail.
authorLuo <xionghu.luo@intel.com>
Fri, 12 Sep 2014 03:53:41 +0000 (11:53 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Fri, 12 Sep 2014 08:42:56 +0000 (16:42 +0800)
commita6ca297b403e3b729eb13bc5425ac7f64bacdab3
treeb796aa8e4d3f734b8f722e788baa36f60427fadf
parent44a2c4f5455980221a179c95fb7f8a4c024bcb94
fix piglit get kernel info FUNCTION ATTRIBUTE fail.

the backend need return the kernel FUNCTION ATTRIBUTE message to the
clGetKernelInfo.
there are 3 kind of function attribute so far, vec_type_hint parameter
is not available to return due to llvm lack of such info.

Signed-off-by: Luo <xionghu.luo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
13 files changed:
backend/src/backend/program.cpp
backend/src/backend/program.h
backend/src/backend/program.hpp
backend/src/gbe_bin_interpreter.cpp
backend/src/ir/function.hpp
backend/src/llvm/llvm_gen_backend.cpp
src/cl_api.c
src/cl_gbe_loader.cpp
src/cl_gbe_loader.h
src/cl_kernel.c
src/cl_kernel.h
utests/CMakeLists.txt
utests/compiler_function_qualifiers.cpp