mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
Change-Id: If965c79d70392db26597aea4c2f3b7ae2820fe96 Signed-off-by: Maciej Plewka <maciej.plewka@intel.com>
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")));
|
|
}
|