Expose osMemory in MockGfxPartition
Change-Id: I03db1ee2024a3450dcfc01a0d6d592362a5344b1 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
This commit is contained in:
parent
fd4ae3b369
commit
3c33fad3a4
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2019 Intel Corporation
|
* Copyright (C) 2019-2020 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
@ -13,6 +13,8 @@ using namespace NEO;
|
||||||
|
|
||||||
class MockGfxPartition : public GfxPartition {
|
class MockGfxPartition : public GfxPartition {
|
||||||
public:
|
public:
|
||||||
|
using GfxPartition::osMemory;
|
||||||
|
|
||||||
uint64_t getHeapSize(HeapIndex heapIndex) {
|
uint64_t getHeapSize(HeapIndex heapIndex) {
|
||||||
return getHeap(heapIndex).getSize();
|
return getHeap(heapIndex).getSize();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue