2018-01-16 01:16:50 +08:00
|
|
|
/*
|
2019-02-27 18:39:32 +08:00
|
|
|
* Copyright (C) 2018-2019 Intel Corporation
|
2018-01-16 01:16:50 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2018-01-16 01:16:50 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2019-11-29 22:41:47 +08:00
|
|
|
#include "core/helpers/hw_info.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2019-06-03 15:54:55 +08:00
|
|
|
namespace Extensions {
|
|
|
|
constexpr const char *const sharingFormatQuery = "cl_intel_sharing_format_query ";
|
|
|
|
}
|
2018-01-16 01:16:50 +08:00
|
|
|
extern const char *deviceExtensionsList;
|
|
|
|
|
|
|
|
std::string getExtensionsList(const HardwareInfo &hwInfo);
|
|
|
|
std::string removeLastSpace(std::string &s);
|
|
|
|
std::string convertEnabledExtensionsToCompilerInternalOptions(const char *deviceExtensions);
|
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|