mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +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>
25 lines
494 B
C++
25 lines
494 B
C++
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "opencl/source/api/cl_types.h"
|
|
#include "opencl/source/platform/platform.h"
|
|
|
|
namespace NEO {
|
|
|
|
class PlatformFixture {
|
|
protected:
|
|
void SetUp(); // NOLINT(readability-identifier-naming)
|
|
void TearDown(); // NOLINT(readability-identifier-naming)
|
|
|
|
Platform *pPlatform = nullptr;
|
|
|
|
cl_uint num_devices = 0u;
|
|
cl_device_id *devices = nullptr;
|
|
};
|
|
} // namespace NEO
|