Iβm not sure if this is the answer you are looking for, but if you work with Intel GPUs on Linux using the Beigenet platform, then for most (not all, I think Cherryview is an exception), CL_DEVICE_VENDOR_ID returned using clGetDeviceInfo cards for PCIID GPU. See here for implementation and here for comparison.
Using Intel standard drivers on other platforms will require that you match CL_DEVICE_NAME with exiting sysfs or pciutils on Linux, and Win32_DisplayControllerConfiguration.Caption and Win32_Bus.DeviceID on Windows.
source share