mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Reorganization directory structure [2/n]
Change-Id: I47962d17d755e80dcd9476e1ed75560f433f6115
This commit is contained in:

committed by
Jaroslaw Chodor

parent
d015d3633f
commit
e8852a68c4
31
opencl/test/unit_test/fixtures/memory_manager_fixture.h
Normal file
31
opencl/test/unit_test/fixtures/memory_manager_fixture.h
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (C) 2017-2020 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include "core/execution_environment/execution_environment.h"
|
||||
#include "core/helpers/options.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
class MockCommandStreamReceiver;
|
||||
namespace NEO {
|
||||
class MockMemoryManager;
|
||||
}; // namespace NEO
|
||||
|
||||
class MemoryManagerWithCsrFixture {
|
||||
public:
|
||||
MockMemoryManager *memoryManager;
|
||||
ExecutionEnvironment executionEnvironment;
|
||||
std::unique_ptr<MockCommandStreamReceiver> csr;
|
||||
uint32_t taskCount = 0;
|
||||
uint32_t currentGpuTag = initialHardwareTag;
|
||||
|
||||
~MemoryManagerWithCsrFixture() = default;
|
||||
|
||||
void SetUp();
|
||||
void TearDown();
|
||||
};
|
Reference in New Issue
Block a user