2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2018-09-18 15:11:08 +08:00
|
|
|
* Copyright (C) 2017-2018 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"
|
|
|
|
#include "test.h"
|
|
|
|
|
|
|
|
using namespace OCLRT;
|
|
|
|
|
2018-01-09 21:25:30 +08:00
|
|
|
class HwHelperTest : public testing::Test {
|
2018-07-17 21:18:37 +08:00
|
|
|
protected:
|
2018-01-09 21:25:30 +08:00
|
|
|
void SetUp() override;
|
|
|
|
void TearDown() override;
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
PLATFORM testPlatform;
|
2018-01-09 21:25:30 +08:00
|
|
|
FeatureTable testFtrTable;
|
|
|
|
WorkaroundTable testWaTable;
|
|
|
|
GT_SYSTEM_INFO testSysInfo;
|
|
|
|
HardwareInfo hwInfo;
|
2017-12-21 07:45:38 +08:00
|
|
|
};
|
2018-02-19 16:50:17 +08:00
|
|
|
|
2018-08-23 23:42:35 +08:00
|
|
|
void testDefaultImplementationOfSetupHardwareCapabilities(HwHelper &hwHelper, const HardwareInfo &hwInfo);
|