2019-01-10 22:36:57 +08:00
|
|
|
/*
|
2022-06-30 03:17:47 +08:00
|
|
|
* Copyright (C) 2019-2022 Intel Corporation
|
2019-01-10 22:36:57 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2022-06-30 03:17:47 +08:00
|
|
|
#include "shared/source/gen11/hw_cmds.h"
|
|
|
|
#include "shared/test/common/test_macros/header/per_product_test_definitions.h"
|
|
|
|
#include "shared/test/common/test_macros/test.h"
|
2021-12-15 01:40:08 +08:00
|
|
|
|
2020-05-28 20:05:12 +08:00
|
|
|
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
|
2020-02-23 05:50:57 +08:00
|
|
|
|
2019-01-10 22:36:57 +08:00
|
|
|
using namespace NEO;
|
|
|
|
|
2020-05-28 20:05:12 +08:00
|
|
|
typedef Test<ClDeviceFixture> Gen11OnlyTeset;
|
2019-01-10 22:36:57 +08:00
|
|
|
|
2020-10-26 17:56:05 +08:00
|
|
|
GEN11TEST_F(Gen11OnlyTeset, WhenGettingRenderCoreFamilyThenGen11CoreIsReturned) {
|
2019-01-10 22:36:57 +08:00
|
|
|
EXPECT_EQ(IGFX_GEN11_CORE, pDevice->getRenderCoreFamily());
|
|
|
|
}
|