mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Dispatch blit operation during Buffer creation
Change-Id: I59298030b4132a3ac95cc57d0608c8e6a350dafd Related-To: NEO-3020 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
dd442a213b
commit
6cf2dc411d
@@ -75,6 +75,9 @@ GraphicsAllocation *MockMemoryManager::allocateGraphicsMemoryInDevicePool(const
|
||||
auto allocation = OsAgnosticMemoryManager::allocateGraphicsMemoryInDevicePool(allocationData, status);
|
||||
if (allocation) {
|
||||
allocationInDevicePoolCreated = true;
|
||||
if (localMemorySupported) {
|
||||
static_cast<MemoryAllocation *>(allocation)->overrideMemoryPool(MemoryPool::LocalMemory);
|
||||
}
|
||||
}
|
||||
return allocation;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user