mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add ULTs for OsAgnosticMemoryManager
Related-To: NEO-2877 Change-Id: Id80fd66ced9d711ff74d85fa48741c95f9f750bb Signed-off-by: Igor Venevtsev <igor.venevtsev@intel.com>
This commit is contained in:

committed by
sys_ocldev

parent
c24bbac25f
commit
ffe2bd359a
@ -31,6 +31,7 @@ class MockMemoryManager : public MemoryManagerCreate<OsAgnosticMemoryManager> {
|
||||
public:
|
||||
using MemoryManager::allocateGraphicsMemoryForNonSvmHostPtr;
|
||||
using MemoryManager::allocateGraphicsMemoryInPreferredPool;
|
||||
using MemoryManager::allocateGraphicsMemoryWithAlignment;
|
||||
using MemoryManager::allocateGraphicsMemoryWithProperties;
|
||||
using MemoryManager::AllocationData;
|
||||
using MemoryManager::createGraphicsAllocation;
|
||||
@ -100,6 +101,8 @@ class MockMemoryManager : public MemoryManagerCreate<OsAgnosticMemoryManager> {
|
||||
GraphicsAllocation *allocate32BitGraphicsMemory(size_t size, const void *ptr, GraphicsAllocation::AllocationType allocationType);
|
||||
GraphicsAllocation *allocate32BitGraphicsMemoryImpl(const AllocationData &allocationData) override;
|
||||
|
||||
void forceLimitedRangeAllocator(uint64_t range) { gfxPartition->init(range, 0); }
|
||||
|
||||
uint32_t freeGraphicsMemoryCalled = 0u;
|
||||
uint32_t unlockResourceCalled = 0u;
|
||||
uint32_t lockResourceCalled = 0u;
|
||||
|
Reference in New Issue
Block a user