mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-22 10:17:01 +08:00
Related-To: LOCI-4615 - Added Support for users to set ZE_FLAT_DEVICE_HIERARCHY to either FLAT or COMPOSITE to change how devices are returned in zeDeviceGet and clGetDeviceIDs. - COMPOSITE is default behavior that exists today. - FLAT returns all sub devices which have no sub devices and all root devices that have no sub devices in zeDeviceGet ie with all devices flattened out in order. - Added zeDeviceGetRootDevice for one to retrieve the Root Device for any SubDevice. Signed-off-by: Neil R Spruit <neil.r.spruit@intel.com>