mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Change-Id: I32a8ef7752721a2cc330aca6d2efa68b1959efd9 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
26 lines
663 B
C++
26 lines
663 B
C++
/*
|
|
* Copyright (C) 2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "test.h"
|
|
#include "unit_tests/fixtures/device_fixture.h"
|
|
|
|
using namespace NEO;
|
|
|
|
typedef Test<DeviceFixture> TigerlakeLpOnlyTest;
|
|
|
|
TGLLPTEST_F(TigerlakeLpOnlyTest, shouldPassOnTglLp) {
|
|
EXPECT_EQ(IGFX_TIGERLAKE_LP, pDevice->getHardwareInfo().platform.eProductFamily);
|
|
}
|
|
|
|
typedef Test<DeviceFixture> Gen12LpOnlyTeset;
|
|
|
|
GEN12LPTEST_F(Gen12LpOnlyTeset, shouldPassOnGen12) {
|
|
EXPECT_NE(IGFX_GEN9_CORE, pDevice->getRenderCoreFamily());
|
|
EXPECT_NE(IGFX_GEN11_CORE, pDevice->getRenderCoreFamily());
|
|
EXPECT_EQ(IGFX_GEN12LP_CORE, pDevice->getRenderCoreFamily());
|
|
}
|