mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 20:39:56 +08:00
Remove store allocation methods from memory manager
Move setGPUAddress method to WddmAllocation Change-Id: I91d877c3791e9eff69276e4258e3ce9c3111ca45 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
f992cff0c3
commit
d5c9816428
@@ -23,6 +23,7 @@
|
||||
#include "runtime/helpers/task_information.h"
|
||||
#include "runtime/mem_obj/buffer.h"
|
||||
#include "runtime/mem_obj/image.h"
|
||||
#include "runtime/memory_manager/internal_allocation_storage.h"
|
||||
#include "runtime/memory_manager/memory_manager.h"
|
||||
#include "runtime/memory_manager/surface.h"
|
||||
#include "runtime/program/printf_handler.h"
|
||||
@@ -740,7 +741,8 @@ bool CommandQueueHw<GfxFamily>::createAllocationForHostSurface(HostPtrSurface &s
|
||||
}
|
||||
allocation->taskCount = Event::eventNotReady;
|
||||
surface.setAllocation(allocation);
|
||||
memoryManager->storeAllocation(std::unique_ptr<GraphicsAllocation>(allocation), TEMPORARY_ALLOCATION);
|
||||
auto storageForAllocation = device->getCommandStreamReceiver().getInternalAllocationStorage();
|
||||
storageForAllocation->storeAllocation(std::unique_ptr<GraphicsAllocation>(allocation), TEMPORARY_ALLOCATION);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user