Incorrect size reported for CL_PROGRAM_NUM_KERNELS info
Submitted by ape..@..il.com
Assigned to Zhigang Gong @gongzg
Link to original bug (#106037)
Description
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