Files
compute-runtime/unit_tests/fixtures/memory_manager_fixture.h
Mateusz Jablonski a30c70d84b Remove cleaning allocation lists methods from memory manager
Change-Id: I4a58a5373e7dc4cf8dc5d90390e84c4f23689139
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2018-10-29 10:35:03 +01:00

32 lines
664 B
C++

/*
* Copyright (C) 2017-2018 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "runtime/execution_environment/execution_environment.h"
#include "runtime/helpers/options.h"
using namespace OCLRT;
class MockCommandStreamReceiver;
namespace OCLRT {
class MockMemoryManager;
}; // namespace OCLRT
class MemoryManagerWithCsrFixture {
public:
MockMemoryManager *memoryManager;
ExecutionEnvironment executionEnvironment;
MockCommandStreamReceiver *csr;
uint32_t taskCount = 0;
uint32_t currentGpuTag = initialHardwareTag;
~MemoryManagerWithCsrFixture() = default;
void SetUp();
void TearDown();
};