mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00

Dates corrected in copyright headers to reflect original publication date (2018 for OpenCL, 2020 for Level Zero). Signed-off-by: lgotszal <lukasz.gotszald@intel.com>
32 lines
686 B
C++
32 lines
686 B
C++
/*
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "shared/source/execution_environment/execution_environment.h"
|
|
#include "shared/source/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();
|
|
};
|