mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 09:14:47 +08:00
When creating shared USM, currently default root device index is used when accessing memoryManager. This change fixes this issue, by using device provided by caller. In case device is not provided, then default root device index could be used. Related-To: LOCI-4474 Signed-off-by: Jitendra Sharma <jitendra.sharma@intel.com>