mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00

Related-To: NEO-3938 Change-Id: Ida4e0d8b3a758376ea433960c8a329c061b15666 Signed-off-by: Filip Hazubski <filip.hazubski@intel.com>
29 lines
709 B
C++
29 lines
709 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/test/unit_test/fixtures/device_fixture.h"
|
|
#include "opencl/test/unit_test/mocks/mock_device.h"
|
|
#include "opencl/test/unit_test/mocks/mock_source_level_debugger.h"
|
|
#include "test.h"
|
|
|
|
using namespace NEO;
|
|
struct BdwDeviceTest : public DeviceFixture,
|
|
public ::testing::Test {
|
|
void SetUp() override {
|
|
DeviceFixture::SetUp();
|
|
}
|
|
|
|
void TearDown() override {
|
|
DeviceFixture::TearDown();
|
|
}
|
|
};
|
|
|
|
BDWTEST_F(BdwDeviceTest, givenBdwDeviceWhenAskedForClVersionThenReport21) {
|
|
auto version = pClDevice->getSupportedClVersion();
|
|
EXPECT_EQ(21u, version);
|
|
}
|