mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-21 01:04:57 +08:00
feature: Add support for memadvise with system preferred location
Related-To: NEO-7851 Signed-off-by: Slawomir Milczarek <slawomir.milczarek@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
996c261430
commit
5833d65bc0
@@ -2304,7 +2304,7 @@ GraphicsAllocation *DrmMemoryManager::createSharedUnifiedMemoryAllocation(const
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
PreferredLocation preferredLocation = PreferredLocation::Device;
|
||||
PreferredLocation preferredLocation = PreferredLocation::Default;
|
||||
if (NEO::DebugManager.flags.CreateContextWithAccessCounters.get() > 0) {
|
||||
preferredLocation = PreferredLocation::None;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user