compute-runtime/shared/test/common/fixtures/device_fixture.h

27 lines
548 B
C
Raw Normal View History

/*
* Copyright (C) 2021 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#pragma once
#include "shared/test/common/mocks/mock_device.h"
namespace NEO {
struct HardwareInfo;
struct DeviceFixture {
void SetUp();
void SetUpImpl(const NEO::HardwareInfo *hardwareInfo);
void TearDown();
MockDevice *createWithUsDeviceId(unsigned short usDeviceId);
MockDevice *pDevice = nullptr;
volatile uint32_t *pTagMemory = nullptr;
HardwareInfo hardwareInfo = {};
PLATFORM platformHelper = {};
};
} // namespace NEO