summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLuo Xionghu <xionghu.luo@intel.com>2014-09-17 05:58:17 +0800
committerZhigang Gong <zhigang.gong@intel.com>2014-09-17 11:50:57 +0800
commitae03de384650f5ae8225ad6ee618b79a09a28f2a (patch)
treea2f69465a30c1f6a1d93fe6e8eeed0bdf6a29150 /src
parentc65c0087166a2194ece457d8739d06e86a857dbe (diff)
fix one bug at cl_get_kernel_workgroup_info.
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com> Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
Diffstat (limited to 'src')
-rw-r--r--src/cl_device_id.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cl_device_id.c b/src/cl_device_id.c
index ee3f2b75..1ce53805 100644
--- a/src/cl_device_id.c
+++ b/src/cl_device_id.c
@@ -607,6 +607,7 @@ cl_get_kernel_workgroup_info(cl_kernel kernel,
return CL_SUCCESS;
}
+ return CL_SUCCESS;
default:
return CL_INVALID_VALUE;
};