- On Windows, if one uses remote desktop to connect to their windows machine,
then attempts to run compute workloads, a shadow intel graphics device
is created and L0/OpenCL will report 2 devices for a single device.
- This second device is not valid and if used will cause workload failures.
- to ensure that only usable devices are reported by L0/OpenCL, we now check
the Adapter for its Support in D3DKMT_ADAPTERTYPE which for our use must
have RenderSupported. The Shadow devices only support display and not
rendering/compute, so this check will avoid reporting a display only
intel device for compute usage.
Change-Id: Ib619c454aea2deb91135e7958efbca1cee5a05eb
Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>