Files
compute-runtime/opencl/test/unit_test/gen12lp/test_sample_gen12lp.inl
kamdiedrich 87c5d2663b Add absolute path to unit_tests
Change-Id: I7a64f79a39dff4f5fa4166244e71872bb614724f
2020-02-23 17:18:04 +01:00

26 lines
679 B
C++

/*
* Copyright (C) 2019-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/test/unit_test/fixtures/device_fixture.h"
#include "test.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());
}