Expose osMemory in MockGfxPartition

Change-Id: I03db1ee2024a3450dcfc01a0d6d592362a5344b1
Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
Dunajski, Bartosz 2020-01-13 08:54:47 +01:00 committed by sys_ocldev
parent fd4ae3b369
commit 3c33fad3a4
1 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright (C) 2019 Intel Corporation
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
@ -13,6 +13,8 @@ using namespace NEO;
class MockGfxPartition : public GfxPartition {
public:
using GfxPartition::osMemory;
uint64_t getHeapSize(HeapIndex heapIndex) {
return getHeap(heapIndex).getSize();
}