mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: I849b9f5a9f449f063e5717ea9758e80c6662c5a5 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
27 lines
545 B
C++
27 lines
545 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "unit_tests/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
|