mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
fix: Return pageSize/Heap for reservation based on the size and devices
Related-To: NEO-9127,NEO-9142 - Change the heap/pageSize used based on the size of the reservation required and the device heaps available. - Return the page size required based on the size requested by the user for virtual reservation and the devices on the system. - Check the size passed in by the user in memory map and physical memory allocation is valid for the heap and page size that is required. Signed-off-by: Spruit, Neil R <neil.r.spruit@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
5a4fa180d6
commit
456f07212d
@@ -39,6 +39,7 @@ class MockWddmMemoryManager : public MemoryManagerCreate<WddmMemoryManager> {
|
||||
using BaseClass::getHugeGfxMemoryChunkSize;
|
||||
using BaseClass::getPreferredAllocationMethod;
|
||||
using BaseClass::isStatelessAccessRequired;
|
||||
using BaseClass::selectAlignmentAndHeap;
|
||||
|
||||
GraphicsAllocation *allocateGraphicsMemory64kb(const AllocationData &allocationData) override {
|
||||
allocationGraphicsMemory64kbCreated = true;
|
||||
|
||||
Reference in New Issue
Block a user