mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Related-To: NEO-4207 Change-Id: I70781b44e7d14360a581808049baf8b61fd1b4e4 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
28 lines
597 B
C++
28 lines
597 B
C++
/*
|
|
* Copyright (C) 2017-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "test.h"
|
|
#include "unit_tests/fixtures/platform_fixture.h"
|
|
|
|
using namespace NEO;
|
|
|
|
struct Gen8PlatformCaps : public PlatformFixture, public ::testing::Test {
|
|
void SetUp() override {
|
|
PlatformFixture::SetUp();
|
|
}
|
|
|
|
void TearDown() override {
|
|
PlatformFixture::TearDown();
|
|
}
|
|
};
|
|
|
|
BDWTEST_F(Gen8PlatformCaps, allBdwSkusSupportFP64) {
|
|
const auto &caps = pPlatform->getPlatformInfo();
|
|
|
|
EXPECT_NE(std::string::npos, caps.extensions.find(std::string("cl_khr_fp64")));
|
|
}
|