mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
This reverts commit 22a719d62f.
Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
32 lines
883 B
C++
32 lines
883 B
C++
/*
|
|
* Copyright (C) 2018-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "shared/source/utilities/stackvec.h"
|
|
|
|
#include "CL/cl.h"
|
|
|
|
#include <string>
|
|
|
|
using OpenClCFeaturesContainer = StackVec<cl_name_version, 27>;
|
|
|
|
namespace NEO {
|
|
struct HardwareInfo;
|
|
class CompilerProductHelper;
|
|
|
|
namespace Extensions {
|
|
inline constexpr const char *const sharingFormatQuery = "cl_intel_sharing_format_query ";
|
|
}
|
|
|
|
void getOpenclCFeaturesList(const HardwareInfo &hwInfo, OpenClCFeaturesContainer &openclCFeatures, const CompilerProductHelper &compilerProductHelper);
|
|
std::string convertEnabledExtensionsToCompilerInternalOptions(const char *deviceExtensions,
|
|
OpenClCFeaturesContainer &openclCFeatures);
|
|
std::string getOclVersionCompilerInternalOption(unsigned int oclVersion);
|
|
|
|
} // namespace NEO
|