Files
compute-runtime/unit_tests/gen8/test_sample_gen8.cpp
Artur Harasimiuk 40146291ad Update copyright headers
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>
2018-09-20 18:02:35 +02:00

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