mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-31 12:11:31 +08:00
Related-To: NEO-15430 Previously, HostPointerManager constructed HostPointerData and MultiGraphicsAllocation using devices.size()-1 as the max root device index. This caused aborts when devices with non-zero root device indices were used, since the internal allocation vector was undersized. This change computes the maximum root device index from the input device vector and uses it to size HostPointerData and MultiGraphicsAllocation correctly. Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>