Files
compute-runtime/shared/test/common/fixtures/preamble_fixture.h
Warchulski, Jaroslaw c275008e51 Cleanup includes 32
Cleaned up files:
level_zero/core/source/cmdlist/cmdlist_hw.h
level_zero/core/source/cmdqueue/cmdqueue.h
level_zero/core/source/event/event.h
opencl/source/helpers/get_info_status_mapper.h
opencl/source/helpers/hardware_commands_helper.h
shared/source/helpers/per_thread_data.h

Related-To: NEO-5548
Signed-off-by: Warchulski, Jaroslaw <jaroslaw.warchulski@intel.com>
2023-01-16 20:41:37 +01:00

53 lines
1.5 KiB
C++

/*
* Copyright (C) 2018-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/helpers/preamble.h"
#include "shared/test/common/cmd_parse/hw_parse.h"
#include "shared/test/common/fixtures/device_fixture.h"
#include "shared/test/common/fixtures/linear_stream_fixture.h"
#include "shared/test/common/mocks/mock_device.h"
using namespace NEO;
struct PreambleFixture : public DeviceFixture,
public LinearStreamFixture,
public HardwareParse,
public ::testing::Test {
void SetUp() override {
DeviceFixture::setUp();
HardwareParse::setUp();
}
void TearDown() override {
HardwareParse::tearDown();
DeviceFixture::tearDown();
}
};
class PreambleVfeState : public DeviceFixture,
public ::testing::Test,
public LinearStreamFixture,
public HardwareParse {
public:
void SetUp() override {
::testing::Test::SetUp();
LinearStreamFixture::setUp();
HardwareParse::setUp();
DeviceFixture::setUp();
testWaTable = &pDevice->getExecutionEnvironment()->rootDeviceEnvironments[0]->getMutableHardwareInfo()->workaroundTable;
}
void TearDown() override {
DeviceFixture::tearDown();
HardwareParse::tearDown();
LinearStreamFixture::tearDown();
::testing::Test::TearDown();
}
WorkaroundTable *testWaTable = nullptr;
};