summaryrefslogtreecommitdiff
path: root/src/cl_device_id.h
diff options
context:
space:
mode:
authorZhigang Gong <zhigang.gong@intel.com>2013-11-11 16:20:26 +0800
committerZhigang Gong <zhigang.gong@intel.com>2013-11-11 16:40:10 +0800
commit8b656dcc2ffd4fddde7e67ae58980b3b9c38ed05 (patch)
treef3aaaf49316d181d6efc43dafc6befe856680fe8 /src/cl_device_id.h
parent608b66d10f46cd654e98a2fab52c3eab3e2a3706 (diff)
Runtime: complete the api clGetKernelWorkGroupInfo.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Diffstat (limited to 'src/cl_device_id.h')
-rw-r--r--src/cl_device_id.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/cl_device_id.h b/src/cl_device_id.h
index 1beff92a..56ffd33d 100644
--- a/src/cl_device_id.h
+++ b/src/cl_device_id.h
@@ -96,6 +96,7 @@ struct _cl_device_id {
/* Kernel specific info that we're assigning statically */
size_t wg_sz;
size_t compile_wg_sz[3];
+ size_t preferred_wg_sz_mul;
};
/* Get a device from the given platform */
@@ -115,11 +116,12 @@ extern cl_int cl_get_device_info(cl_device_id device,
void * param_value,
size_t * param_value_size_ret);
-extern cl_int cl_get_kernel_workgroup_info(cl_device_id device,
- cl_kernel_work_group_info param_name,
- size_t param_value_size,
- void * param_value,
- size_t * param_value_size_ret);
+extern cl_int cl_get_kernel_workgroup_info(cl_kernel kernel,
+ cl_device_id device,
+ cl_kernel_work_group_info param_name,
+ size_t param_value_size,
+ void * param_value,
+ size_t * param_value_size_ret);
/* Returns the Gen device ID */
extern cl_int cl_device_get_version(cl_device_id device, cl_int *ver);