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

Related-To: NEO-3938 Change-Id: I1bfeddb0ab68c025312bc3b8eff9571fef909780 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
29 lines
651 B
C++
29 lines
651 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include "opencl/test/unit_test/mocks/mock_cl_device.h"
|
|
#include "opencl/test/unit_test/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;
|
|
MockClDevice *pClDevice = nullptr;
|
|
volatile uint32_t *pTagMemory = nullptr;
|
|
HardwareInfo hardwareInfo = {};
|
|
PLATFORM platformHelper = {};
|
|
};
|
|
} // namespace NEO
|