2020-09-26 21:34:32 +08:00
|
|
|
/*
|
2023-06-16 22:25:22 +08:00
|
|
|
* Copyright (C) 2020-2023 Intel Corporation
|
2020-09-26 21:34:32 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
|
|
|
|
extern const std::string clStdOptionName;
|
2021-10-20 03:21:38 +08:00
|
|
|
struct HardwareInfo;
|
2020-09-26 21:34:32 +08:00
|
|
|
|
|
|
|
bool requiresOpenClCFeatures(const std::string &compileOptions);
|
2020-12-03 20:50:07 +08:00
|
|
|
bool requiresAdditionalExtensions(const std::string &compileOptions);
|
2020-09-26 21:34:32 +08:00
|
|
|
|
2023-06-16 22:25:22 +08:00
|
|
|
void appendAdditionalExtensions(std::string &extensions, const std::string &compileOptions, const std::string &internalOptions);
|
2021-10-20 03:21:38 +08:00
|
|
|
void appendExtensionsToInternalOptions(const HardwareInfo &hwInfo, const std::string &options, std::string &internalOptions);
|
|
|
|
|
2020-09-26 21:34:32 +08:00
|
|
|
} // namespace NEO
|