mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-01 12:33:12 +08:00
Change-Id: I51f51464918a487001200337b97a542ab4e65f1a Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
29 lines
635 B
C++
29 lines
635 B
C++
/*
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "core/helpers/options.h"
|
|
#include "test.h"
|
|
#include "unit_tests/fixtures/platform_fixture.h"
|
|
|
|
using namespace NEO;
|
|
|
|
struct Gen11PlatformCaps : public PlatformFixture, public ::testing::Test {
|
|
void SetUp() override {
|
|
PlatformFixture::SetUp();
|
|
}
|
|
|
|
void TearDown() override {
|
|
PlatformFixture::TearDown();
|
|
}
|
|
};
|
|
|
|
GEN11TEST_F(Gen11PlatformCaps, lpSkusDontSupportFP64) {
|
|
const auto &caps = pPlatform->getPlatformInfo();
|
|
|
|
EXPECT_EQ(std::string::npos, caps.extensions.find(std::string("cl_khr_fp64")));
|
|
}
|