2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2019-02-27 18:39:32 +08:00
|
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "runtime/device/device.h"
|
|
|
|
#include "runtime/helpers/hw_helper.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
#include "test.h"
|
2018-11-22 22:16:20 +08:00
|
|
|
#include "unit_tests/fixtures/device_fixture.h"
|
2018-11-21 23:47:21 +08:00
|
|
|
#include "unit_tests/helpers/hw_info_helper.h"
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
using namespace NEO;
|
2017-12-21 07:45:38 +08:00
|
|
|
|
2018-11-22 22:16:20 +08:00
|
|
|
class HwHelperFixture : public DeviceFixture {
|
2018-07-17 21:18:37 +08:00
|
|
|
protected:
|
2018-11-22 22:16:20 +08:00
|
|
|
void SetUp();
|
|
|
|
void TearDown();
|
2018-11-21 23:47:21 +08:00
|
|
|
HwInfoHelper hwInfoHelper;
|
2017-12-21 07:45:38 +08:00
|
|
|
};
|
2018-02-19 16:50:17 +08:00
|
|
|
|
2018-11-22 22:16:20 +08:00
|
|
|
using HwHelperTest = Test<HwHelperFixture>;
|
|
|
|
|
2018-08-23 23:42:35 +08:00
|
|
|
void testDefaultImplementationOfSetupHardwareCapabilities(HwHelper &hwHelper, const HardwareInfo &hwInfo);
|