compute-runtime/opencl/test/unit_test/gen9/test_sample_gen9.cpp

18 lines
382 B
C++

/*
* Copyright (C) 2018-2021 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> Gen9OnlyTest;
GEN9TEST_F(Gen9OnlyTest, WhenGettingRenderCoreFamilyThenGen9CoreIsReturned) {
EXPECT_EQ(IGFX_GEN9_CORE, pDevice->getRenderCoreFamily());
}