It is a bug. the sequence of arguments does NOT match clGetKernelWorkGroupInfo.
so here is a patch to fix it.



@@ -3142,7 +3142,7 @@
{
return detail::errHandler(
...