Files
compute-runtime/unit_tests/gen12lp/test_sample_gen12lp.inl
Filip Hazubski cf246d73f5 Add wrapper for gen12lp tests
Change-Id: I32a8ef7752721a2cc330aca6d2efa68b1959efd9
Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
2019-11-14 15:25:34 +01:00

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());
}