mirror of
https://github.com/intel/compute-runtime.git
synced 2025-06-28 17:58:30 +08:00
24 lines
610 B
C++
24 lines
610 B
C++
/*
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/test/common/helpers/default_hw_info.h"
|
|
#include "shared/test/common/test_macros/test.h"
|
|
|
|
using namespace NEO;
|
|
|
|
using BroadwellOnlyTest = ::testing::Test;
|
|
|
|
BDWTEST_F(BroadwellOnlyTest, WhenGettingProductFamilyThenBroadwellIsReturned) {
|
|
EXPECT_EQ(IGFX_BROADWELL, defaultHwInfo->platform.eProductFamily);
|
|
}
|
|
|
|
using Gen8OnlyTest = ::testing::Test;
|
|
|
|
GEN8TEST_F(Gen8OnlyTest, WhenGettingRenderCoreFamilyThenGen8CoreIsReturned) {
|
|
EXPECT_EQ(IGFX_GEN8_CORE, defaultHwInfo->platform.eRenderCoreFamily);
|
|
}
|