aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShow Liu <show.liu@linaro.org>2015-07-29 17:02:36 +0800
committerShow Liu <show.liu@linaro.org>2015-07-29 17:02:36 +0800
commit668bdd17cadc838a8bc165a0f222e31c7b6777a7 (patch)
tree3f2688b39d22fd1c2478c899f7daa54af1e55636
parent1fe9ecb67baa368118f275fa87021069cb178a28 (diff)
To handle the CL_KERNEL_GLOBAL_WORK_SIZE case
-rw-r--r--src/core/kernel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/kernel.cpp b/src/core/kernel.cpp
index c3fe391..f84854a 100644
--- a/src/core/kernel.cpp
+++ b/src/core/kernel.cpp
@@ -771,6 +771,7 @@ cl_int Kernel::workGroupInfo(DeviceInterface *device,
switch (param_name)
{
+ case CL_KERNEL_GLOBAL_WORK_SIZE:
case CL_KERNEL_WORK_GROUP_SIZE:
SIMPLE_ASSIGN(size_t, dep.kernel->workGroupSize());
break;