fix one bug at cl_get_kernel_workgroup_info.
authorLuo Xionghu <xionghu.luo@intel.com>
Tue, 16 Sep 2014 21:58:17 +0000 (05:58 +0800)
committerZhigang Gong <zhigang.gong@intel.com>
Wed, 17 Sep 2014 03:50:57 +0000 (11:50 +0800)
Signed-off-by: Luo Xionghu <xionghu.luo@intel.com>
Reviewed-by: Zhigang Gong <zhigang.gong@linux.intel.com>
src/cl_device_id.c

index ee3f2b7..1ce5380 100644 (file)
@@ -607,6 +607,7 @@ cl_get_kernel_workgroup_info(cl_kernel kernel,
 
         return CL_SUCCESS;
       }
+      return CL_SUCCESS;
     default:
       return CL_INVALID_VALUE;
   };