When calling clGetProgramInfo with CL_PROGRAM_NUM_KERNELS, size is reported for cl_uint, but the OpenCL specification dictates that it should be a size_t value. This seems to be caused by a minor typo here: https://github.com/intel/beignet/blob/master/src/cl_api_program.c#L57
Relevant specification: https://www.khronos.org/registry/OpenCL/sdk/2.1/docs/man/xhtml/clGetProgramInfo.html
Typo is also present here: https://github.com/intel/beignet/blob/master/src/cl_program.h#L67
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/beignet/beignet/issues/8.