mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00

cmd parse tests aub subcapture tests aub command stream receiver tests aub command stream receiver fixture mock aub subcapture manager Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
28 lines
589 B
C++
28 lines
589 B
C++
/*
|
|
* 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 = {};
|
|
const uint32_t rootDeviceIndex = 0u;
|
|
};
|
|
} // namespace NEO
|