mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-10 07:08:04 +08:00
Change-Id: I5e5b4cc45947a8841282c7d431fb69d9c397a2d4 Signed-off-by: Dunajski, Bartosz <bartosz.dunajski@intel.com>
24 lines
516 B
C++
24 lines
516 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "test.h"
|
|
#include "unit_tests/fixtures/device_fixture.h"
|
|
|
|
using namespace NEO;
|
|
|
|
typedef Test<DeviceFixture> BroadwellOnlyTest;
|
|
|
|
BDWTEST_F(BroadwellOnlyTest, shouldPassOnBdw) {
|
|
EXPECT_EQ(IGFX_BROADWELL, pDevice->getHardwareInfo().pPlatform.eProductFamily);
|
|
}
|
|
|
|
typedef Test<DeviceFixture> Gen8OnlyTest;
|
|
|
|
GEN8TEST_F(Gen8OnlyTest, shouldPassOnGen8) {
|
|
EXPECT_EQ(IGFX_GEN8_CORE, pDevice->getRenderCoreFamily());
|
|
}
|