Files
compute-runtime/shared/test/common/fixtures/device_fixture.h
Mateusz Jablonski c90f3b3c93 Correct naming: SetUpImpl -> setUpImpl
Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
2022-06-28 17:59:37 +02:00

28 lines
705 B
C++

/*
* Copyright (C) 2021-2022 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/test/common/mocks/mock_device.h"
namespace NEO {
struct HardwareInfo;
struct DeviceFixture {
void SetUp(); // NOLINT(readability-identifier-naming)
void setUpImpl(const NEO::HardwareInfo *hardwareInfo);
void TearDown(); // NOLINT(readability-identifier-naming)
MockDevice *createWithUsDeviceIdRevId(unsigned short usDeviceId, unsigned short usRevId);
MockDevice *pDevice = nullptr;
volatile uint32_t *pTagMemory = nullptr;
HardwareInfo hardwareInfo = {};
PLATFORM platformHelper = {};
const uint32_t rootDeviceIndex = 0u;
};
} // namespace NEO