summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJunyan He <junyan.he@intel.com>2016-03-22 15:12:58 +0800
committerJunyan He <junyan.he@intel.com>2016-03-22 15:12:58 +0800
commite81ca6b8385399075484e0ffbe4dd8dca482542f (patch)
treeab4d9366a36b16efa3d266de33801fe4f8990a73 /include
parentfd531dbceb2a01ead062bc1de982d89c412fa021 (diff)
ker
Diffstat (limited to 'include')
-rw-r--r--include/cl_kernel.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/include/cl_kernel.h b/include/cl_kernel.h
index a820a7bf..619d6124 100644
--- a/include/cl_kernel.h
+++ b/include/cl_kernel.h
@@ -31,13 +31,14 @@ typedef struct _cl_argument {
typedef _cl_argument* cl_argument;
typedef struct _cl_kernel_workgroup_info {
- size_t compile_wg_sz[3]; /* Required workgroup size by
- __attribute__((reqd_work_group_size(X, Y, Z))) qualifier.*/
- size_t global_work_sz[3]; /* maximum global size that can be used to execute a kernel
- (i.e. global_work_size argument to clEnqueueNDRangeKernel.)*/
- size_t work_group_sz; /* maximum workgroup size that can be used to execute a kernel.*/
- cl_ulong local_mem_sz; /* Local memory size specified in kernel args. */
- cl_ulong private_mem_sz; /* Private memory size specified in kernel args. */
+ size_t compile_wg_sz[3]; /* Required workgroup size by
+ __attribute__((reqd_work_group_size(X, Y, Z))) qualifier.*/
+ size_t global_work_sz[3]; /* maximum global size that can be used to execute a kernel
+ (i.e. global_work_size argument to clEnqueueNDRangeKernel.)*/
+ size_t work_group_sz; /* maximum workgroup size that can be used to execute a kernel.*/
+ size_t work_group_sz_multiple;/*preferred multiple of workgroup size for launch. */
+ cl_ulong local_mem_sz; /* Local memory size specified in kernel args. */
+ cl_ulong private_mem_sz; /* Private memory size specified in kernel args. */
} _cl_kernel_workgroup_info;
typedef _cl_kernel_workgroup_info* cl_kernel_workgroup_info;