From 3c33fad3a40d4b2811dbf33526c6048003be9add Mon Sep 17 00:00:00 2001 From: "Dunajski, Bartosz" Date: Mon, 13 Jan 2020 08:54:47 +0100 Subject: [PATCH] Expose osMemory in MockGfxPartition Change-Id: I03db1ee2024a3450dcfc01a0d6d592362a5344b1 Signed-off-by: Dunajski, Bartosz --- unit_tests/mocks/mock_gfx_partition.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/unit_tests/mocks/mock_gfx_partition.h b/unit_tests/mocks/mock_gfx_partition.h index b216e17719..82575d7544 100644 --- a/unit_tests/mocks/mock_gfx_partition.h +++ b/unit_tests/mocks/mock_gfx_partition.h @@ -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(); }