/* * Copyright (C) 2017-2018 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/helpers/options.h" #include "unit_tests/fixtures/platform_fixture.h" #include "test.h" using namespace OCLRT; 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"))); }