mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 04:12:57 +08:00
When using ReturnSubDevicesAsApiDevices=1 to have sub-devices-as-root-devices, then the driver should read the values passed in the mask as those corresponding to the physical sub-devices. For instance, in a dual system with multi-tile device, we would have: card 0, tile 0 card 0, tile 1 card 1, tile 0 card 1, tile 1 With: ReturnSubDevicesAsApiDevices=0 ZE_AFFINITY_MASK=0,1 Then all tiles in card 0 and card 1 need to be exposed. With: ReturnSubDevicesAsApiDevices=1 ZE_AFFINITY_MASK=0,3 Then card 0 tile 0, and card 1 tile 1 need to be exposed. Related-To: NEO-7137 Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>