diff options
author | Luo <xionghu.luo@intel.com> | 2014-09-12 11:53:41 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-09-12 16:42:56 +0800 |
commit | a6ca297b403e3b729eb13bc5425ac7f64bacdab3 (patch) | |
tree | b796aa8e4d3f734b8f722e788baa36f60427fadf /src/cl_gbe_loader.h | |
parent | 44a2c4f5455980221a179c95fb7f8a4c024bcb94 (diff) |
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>
Diffstat (limited to 'src/cl_gbe_loader.h')
-rw-r--r-- | src/cl_gbe_loader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_gbe_loader.h b/src/cl_gbe_loader.h index 38b43b77..da9d0344 100644 --- a/src/cl_gbe_loader.h +++ b/src/cl_gbe_loader.h @@ -42,6 +42,7 @@ extern gbe_program_get_kernel_num_cb *interp_program_get_kernel_num; extern gbe_program_get_kernel_by_name_cb *interp_program_get_kernel_by_name; extern gbe_program_get_kernel_cb *interp_program_get_kernel; extern gbe_kernel_get_name_cb *interp_kernel_get_name; +extern gbe_kernel_get_attributes_cb *interp_kernel_get_attributes; extern gbe_kernel_get_code_cb *interp_kernel_get_code; extern gbe_kernel_get_code_size_cb *interp_kernel_get_code_size; extern gbe_kernel_get_arg_num_cb *interp_kernel_get_arg_num; |