mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-12 17:33:00 +08:00
Define single .clang-tidy configuration with all used checks and use NOLINT to selectively silence tool. That way cleanup should be easier. third_part/ has its own configuration that disables clang-tidy for this folder. Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
32 lines
771 B
C++
32 lines
771 B
C++
/*
|
|
* Copyright (C) 2018-2022 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(); // NOLINT(readability-identifier-naming)
|
|
void TearDown(); // NOLINT(readability-identifier-naming)
|
|
};
|