summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJunyan He <junyan.he@intel.com>2016-03-22 21:32:54 +0800
committerJunyan He <junyan.he@intel.com>2016-03-22 21:32:54 +0800
commit967a87791020336d5b19089d18b1ad40b5d74a1c (patch)
tree8d80cb790691511c610c37bbd14ed705e781f514 /include
parentc277fcddc826ce69a92f5bdf684e4d083a80db68 (diff)
arg
Diffstat (limited to 'include')
-rw-r--r--include/cl_driver.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/cl_driver.h b/include/cl_driver.h
index 4c71c913..83e2593f 100644
--- a/include/cl_driver.h
+++ b/include/cl_driver.h
@@ -19,6 +19,7 @@
#define __CL_DRIVER_H__
#include "CL/cl.h"
+#include "cl_kernel.h"
/* We put a header to identify each object. This will make the programmer life
* easy if objects are wrongly used in the API
@@ -54,8 +55,8 @@ typedef struct _cl_driver {
cl_int (*get_arg_name)(cl_kernel kernel, const cl_device_id device, cl_uint index,
char *name, cl_uint name_sz, cl_uint* ret_sz);
cl_int (*get_arg_info)(cl_kernel kernel, const cl_device_id device, cl_uint index,
- cl_kernel_arg_address_qualifier *qualifier, cl_kernel_arg_access_qualifier *access,
- cl_kernel_arg_type_qualifier *type);
+ cl_kernel_arg_type *type, cl_kernel_arg_address_qualifier *qualifier,
+ cl_kernel_arg_access_qualifier *access, cl_kernel_arg_type_qualifier *type_qualifier);