mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-29 17:13:29 +08:00
Updating files modified in 2018 only. Older files remain with old style copyright header Change-Id: Ic99f2e190ad74b4b7f2bd79dd7b9fa5fbe36ec92 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
24 lines
519 B
C++
24 lines
519 B
C++
/*
|
|
* Copyright (C) 2017-2018 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "unit_tests/fixtures/device_fixture.h"
|
|
#include "test.h"
|
|
|
|
using namespace OCLRT;
|
|
|
|
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());
|
|
}
|