mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Cleanup headers
Signed-off-by: Daniel Chabrowski <daniel.chabrowski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
b5495169ca
commit
6fd7ae7142
@@ -18,6 +18,8 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
struct KernelInfo;
|
||||
|
||||
struct HardwareParse {
|
||||
HardwareParse() {
|
||||
itorMediaInterfaceDescriptorLoad = cmdList.end();
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "shared/source/built_ins/built_ins.h"
|
||||
#include "shared/source/built_ins/sip.h"
|
||||
#include "shared/source/command_stream/preemption.h"
|
||||
#include "shared/source/helpers/hw_helper.h"
|
||||
#include "shared/test/common/cmd_parse/hw_parse.h"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
*/
|
||||
|
||||
#include "shared/source/built_ins/built_ins.h"
|
||||
#include "shared/source/built_ins/sip.h"
|
||||
#include "shared/source/command_stream/preemption.h"
|
||||
#include "shared/source/helpers/hw_helper.h"
|
||||
#include "shared/test/common/cmd_parse/hw_parse.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -7,7 +7,6 @@
|
||||
|
||||
#pragma once
|
||||
#include "shared/source/debug_settings/debug_settings_manager.h"
|
||||
#include "shared/source/utilities/debug_settings_reader.h"
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
@@ -38,31 +37,3 @@ class DebugManagerStateRestore {
|
||||
void shrink(int32_t &flag) {}
|
||||
void shrink(bool &flag) {}
|
||||
};
|
||||
|
||||
class RegistryReaderMock : public SettingsReader {
|
||||
public:
|
||||
RegistryReaderMock() {}
|
||||
~RegistryReaderMock() override {}
|
||||
|
||||
uint64_t forceRetValue = 1;
|
||||
|
||||
int32_t getSetting(const char *settingName, int32_t defaultValue) override {
|
||||
return static_cast<uint32_t>(forceRetValue);
|
||||
}
|
||||
|
||||
int64_t getSetting(const char *settingName, int64_t defaultValue) override {
|
||||
return forceRetValue;
|
||||
}
|
||||
|
||||
bool getSetting(const char *settingName, bool defaultValue) override {
|
||||
return true;
|
||||
}
|
||||
|
||||
std::string getSetting(const char *settingName, const std::string &value) override {
|
||||
return "";
|
||||
}
|
||||
|
||||
const char *appSpecificLocation(const std::string &name) override {
|
||||
return name.c_str();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/built_ins/sip.h"
|
||||
#include "shared/source/command_stream/preemption.h"
|
||||
#include "shared/source/helpers/hw_info.h"
|
||||
#include "shared/source/os_interface/hw_info_config.h"
|
||||
@@ -14,6 +15,7 @@
|
||||
#include "shared/test/common/test_macros/test.h"
|
||||
|
||||
#include <array>
|
||||
|
||||
using namespace NEO;
|
||||
|
||||
using PreemptionXeHPTest = ::testing::Test;
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
#include "shared/test/unit_test/tests_configuration.h"
|
||||
|
||||
#include "gmock/gmock.h"
|
||||
#include "hw_cmds.h"
|
||||
#include "test_files_setup.h"
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
@@ -1,10 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2021 Intel Corporation
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
#include "shared/source/built_ins/sip.h"
|
||||
#include "shared/source/command_stream/preemption.h"
|
||||
#include "shared/test/common/cmd_parse/gen_cmd_parse.h"
|
||||
#include "shared/test/common/fixtures/preemption_fixture.h"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018-2021 Intel Corporation
|
||||
* Copyright (C) 2018-2022 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#pragma once
|
||||
#include "shared/source/built_ins/built_ins.h"
|
||||
#include "shared/source/built_ins/sip.h"
|
||||
#include "shared/source/command_stream/preemption.h"
|
||||
#include "shared/source/helpers/preamble.h"
|
||||
#include "shared/test/common/cmd_parse/hw_parse.h"
|
||||
|
||||
Reference in New Issue
Block a user