2017-12-21 00:45:38 +01:00
|
|
|
/*
|
2020-02-22 22:21:06 +01:00
|
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
2018-09-18 09:11:08 +02:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 00:45:38 +01:00
|
|
|
*
|
|
|
|
|
*/
|
|
|
|
|
|
2020-05-28 14:05:12 +02:00
|
|
|
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
2017-12-21 00:45:38 +01:00
|
|
|
#include "test.h"
|
2020-02-22 22:50:57 +01:00
|
|
|
|
2019-03-26 11:59:46 +01:00
|
|
|
using namespace NEO;
|
2017-12-21 00:45:38 +01:00
|
|
|
|
2020-05-28 14:05:12 +02:00
|
|
|
typedef Test<ClDeviceFixture> Gen9OnlyTest;
|
2017-12-21 00:45:38 +01:00
|
|
|
|
|
|
|
|
GEN9TEST_F(Gen9OnlyTest, shouldPassOnGen9) {
|
2019-05-27 10:33:03 +02:00
|
|
|
EXPECT_NE(IGFX_GEN8_CORE, pDevice->getRenderCoreFamily());
|
2017-12-21 00:45:38 +01:00
|
|
|
EXPECT_EQ(IGFX_GEN9_CORE, pDevice->getRenderCoreFamily());
|
|
|
|
|
}
|