compute-runtime/unit_tests/gen9/test_sample_gen9.cpp

19 lines
396 B
C++

/*
* Copyright (C) 2017-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "test.h"
#include "unit_tests/fixtures/device_fixture.h"
using namespace NEO;
typedef Test<DeviceFixture> Gen9OnlyTest;
GEN9TEST_F(Gen9OnlyTest, shouldPassOnGen9) {
EXPECT_NE(IGFX_GEN8_CORE, pDevice->getRenderCoreFamily());
EXPECT_EQ(IGFX_GEN9_CORE, pDevice->getRenderCoreFamily());
}