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:
Dunajski, Bartosz
2019-04-16 15:42:23 +02:00
committed by sys_ocldev
parent dd442a213b
commit 6cf2dc411d
8 changed files with 66 additions and 5 deletions

View File

@@ -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;
}