Add clGetKernelSubGroupInfoKHR to _cl_icd_dispatch table

Graphics / Beignet - Rebecca N. Palmer [zoho.com] - 20 October 2016 00:32 UTC

ocl-icd >= 2.2.8 has this function in its table; as the lookup process tries the dispatch table before the ICD's clGetExtensionFunctionAddress, requesting a function that is in the ICD loader's table but off the end of the ICD's table will return a garbage pointer.

90ddc08 Add clGetKernelSubGroupInfoKHR to _cl_icd_dispatch table
src/cl_khr_icd.c | 21 +++++++++++++++++++--
1 file changed, 19 insertions(+), 2 deletions(-)

Upstream: cgit.freedesktop.org


  • Share