Files
compute-runtime/unit_tests/gen11/test_sample_gen11.cpp
Jacek Danecki 4b2bb188b7 Add support for Gen11 platform
Related-To: NEO-2388

Change-Id: I4da92efe7f875f409cd62519a31ed4509b55bda7
Signed-off-by: Jacek Danecki <jacek.danecki@intel.com>
2019-04-05 14:28:55 +02:00

20 lines
467 B
C++

/*
* Copyright (C) 2018-2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "test.h"
#include "unit_tests/fixtures/device_fixture.h"
using namespace NEO;
typedef Test<DeviceFixture> Gen11OnlyTeset;
GEN11TEST_F(Gen11OnlyTeset, shouldPassOnGen11) {
EXPECT_NE(IGFX_GEN9_CORE, pDevice->getRenderCoreFamily());
EXPECT_NE(IGFX_GEN10_CORE, pDevice->getRenderCoreFamily());
EXPECT_EQ(IGFX_GEN11_CORE, pDevice->getRenderCoreFamily());
}