29 lines
634 B
C++
29 lines
634 B
C++
/*
|
|
* Copyright (C) 2017-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "runtime/helpers/options.h"
|
|
#include "test.h"
|
|
#include "unit_tests/fixtures/platform_fixture.h"
|
|
|
|
using namespace NEO;
|
|
|
|
struct Gen10PlatformCaps : public PlatformFixture, public ::testing::Test {
|
|
void SetUp() override {
|
|
PlatformFixture::SetUp();
|
|
}
|
|
|
|
void TearDown() override {
|
|
PlatformFixture::TearDown();
|
|
}
|
|
};
|
|
|
|
GEN10TEST_F(Gen10PlatformCaps, hpSkusSupportFP64) {
|
|
const auto &caps = pPlatform->getPlatformInfo();
|
|
|
|
EXPECT_NE(std::string::npos, caps.extensions.find(std::string("cl_khr_fp64")));
|
|
}
|