mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Add new flag to USM memory manager
Related-To: NEO-5498 Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
bca7b54728
commit
779253c49c
@@ -219,10 +219,11 @@ bool Context::createImpl(const cl_context_properties *properties,
|
||||
anySvmSupport |= device->getHardwareInfo().capabilityTable.ftrSvm;
|
||||
}
|
||||
|
||||
if (anySvmSupport) {
|
||||
this->svmAllocsManager = new SVMAllocsManager(this->memoryManager);
|
||||
}
|
||||
setupContextType();
|
||||
if (anySvmSupport) {
|
||||
this->svmAllocsManager = new SVMAllocsManager(this->memoryManager,
|
||||
this->areMultiStorageAllocationsPreferred());
|
||||
}
|
||||
}
|
||||
|
||||
for (auto &device : devices) {
|
||||
|
||||
Reference in New Issue
Block a user