Files
compute-runtime/shared/test/common/fixtures/device_fixture.h
Warchulski, Jaroslaw ca518efc17 Cleanup includes 33
Cleaned up files:
shared/test/common/fixtures/device_fixture.h

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

34 lines
752 B
C++

/*
* Copyright (C) 2021-2023 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/source/command_stream/task_count_helper.h"
#include "shared/source/helpers/hw_info.h"
namespace NEO {
class MockDevice;
struct DeviceFixture {
void setUp();
void setUpImpl(const NEO::HardwareInfo *hardwareInfo);
void tearDown();
MockDevice *createWithUsDeviceIdRevId(unsigned short usDeviceId, unsigned short usRevId);
MockDevice *pDevice = nullptr;
volatile TagAddressType *pTagMemory = nullptr;
HardwareInfo hardwareInfo = {};
PLATFORM platformHelper = {};
const uint32_t rootDeviceIndex = 0u;
template <typename HelperType>
HelperType &getHelper() const;
};
} // namespace NEO