[Beignet] [PATCH] Add clGetKernelSubGroupInfoKHR to _cl_icd_dispatch table

Yang, Rong R rong.r.yang at intel.com
Thu Oct 20 03:57:03 UTC 2016


> If you want the warning to go away, you'd need to update Beignet's headers
> to 2.0+ (we already do that in Debian (for different reasons), it doesn't
> change the 1.2 version Beignet reports via clGetDeviceInfo)
> *and* use a stricter check (OCL_ICD_IDENTIFIED_FUNCTIONS > 120), or
> suppress it via compiler option (though the latter might also suppress the
> warning if you accidentally put a function in the wrong slot - I haven't tried).

Thanks for your suggestion. I am rebasing the OCL20 branch to master, after finish,
Beignet's header will update to 2.0.

For this patch, actually the function pointer clGetKernelSubGroupInfoKHR is converted
to other type (ENTRY cl_int (CL_API_CALL*)(void)) implicit, so I convert it  to (void *) explicit to avoid
the warning. It will be refined when rebase OCL20 branch.

Will push it later, thanks.

YangRong


More information about the Beignet mailing list