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

19 lines
412 B
C++
Raw Normal View History

/*
* Copyright (C) 2017-2020 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, shouldPassOnGen9) {
EXPECT_NE(IGFX_GEN8_CORE, pDevice->getRenderCoreFamily());
EXPECT_EQ(IGFX_GEN9_CORE, pDevice->getRenderCoreFamily());
}