compute-runtime/shared
Spruit, Neil R 3c44c6f942 Fix Windows Adapter Enumeration to ensure Render/Compute support
- 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>
2020-09-04 12:00:47 +02:00
..
generate_cpp_array Cmake format script 2020-08-19 16:36:30 +02:00
offline_compiler WA for integer divide emulation on DG1 2020-09-04 10:44:51 +02:00
source Fix Windows Adapter Enumeration to ensure Render/Compute support 2020-09-04 12:00:47 +02:00
test Move platforms destructor from static lib to shared library 2020-09-04 09:59:13 +02:00