Files
compute-runtime/opencl/test/unit_test/gen8/test_sample_gen8.cpp
Adam Cetnerowski 2dcc2f5422 ULT renaming: Gen-specific Product Family tests
Related-To: NEO-2236

Change-Id: I4d4e992765fa9d3b8567da63f51797f2c06f9787
Signed-off-by: Adam Cetnerowski <adam.cetnerowski@intel.com>
2020-11-02 15:43:02 +01:00

24 lines
598 B
C++

/*
* Copyright (C) 2017-2020 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "opencl/test/unit_test/fixtures/cl_device_fixture.h"
#include "test.h"
using namespace NEO;
typedef Test<ClDeviceFixture> BroadwellOnlyTest;
BDWTEST_F(BroadwellOnlyTest, WhenGettingProductFamilyThenBroadwellIsReturned) {
EXPECT_EQ(IGFX_BROADWELL, pDevice->getHardwareInfo().platform.eProductFamily);
}
typedef Test<ClDeviceFixture> Gen8OnlyTest;
GEN8TEST_F(Gen8OnlyTest, WhenGettingRenderCoreFamilyThenGen8CoreIsReturned) {
EXPECT_EQ(IGFX_GEN8_CORE, pDevice->getRenderCoreFamily());
}