Open
Description
The piProgramCreate
function in pi_opencl.cpp checks late in its execution if a device supports the OpenCL cl_khr_il_program
extension. If the check fails it returns a CL_INVALID_CONTEXT
equivalent PI error code.
This error code seems to indicate that the context is bad and does not convey that a device in the context is missing an extension or is not an OpenCL 2.x device.