mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Add shareable allocation on windows dGPUs
Add default initialization for object members Related-To: LOCI-2665 Signed-off-by: Kamil Diedrich <kamil.diedrich@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b75f5d4c8b
commit
1b7949432f
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
* Copyright (C) 2020-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -143,6 +143,10 @@ StorageInfo MemoryManager::createStorageInfoFromProperties(const AllocationPrope
|
||||
storageInfo.tileInstanced = true;
|
||||
}
|
||||
storageInfo.localOnlyRequired = true;
|
||||
|
||||
if (properties.flags.shareable) {
|
||||
storageInfo.isLockable = false;
|
||||
}
|
||||
break;
|
||||
}
|
||||
case GraphicsAllocation::AllocationType::UNIFIED_SHARED_MEMORY:
|
||||
|
||||
Reference in New Issue
Block a user