2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2020-02-23 05:21:06 +08:00
|
|
|
* Copyright (C) 2017-2020 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
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "test.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
#include "unit_tests/fixtures/device_fixture.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
|
|
|
|
|
|
|
typedef Test<DeviceFixture> Gen9OnlyTest;
|
|
|
|
|
|
|
|
GEN9TEST_F(Gen9OnlyTest, shouldPassOnGen9) {
|
2019-05-27 16:33:03 +08:00
|
|
|
EXPECT_NE(IGFX_GEN8_CORE, pDevice->getRenderCoreFamily());
|
2017-12-21 07:45:38 +08:00
|
|
|
EXPECT_EQ(IGFX_GEN9_CORE, pDevice->getRenderCoreFamily());
|
|
|
|
}
|