feature: Adding support for OCL C support queries to ocloc

Feature needed for automated OCL C compilation with ocloc as backend.
Added queries :
* CL_DEVICE_EXTENSIONS
* CL_DEVICE_EXTENSIONS_WITH_VERSION
* CL_DEVICE_PROFILE
* CL_DEVICE_OPENCL_C_ALL_VERSIONS
* CL_DEVICE_OPENCL_C_FEATURES

Sample command line:
ocloc query -device skl CL_DEVICE_OPENCL_C_FEATURES

Related-To: GSD-7420

Signed-off-by: Chodor, Jaroslaw <jaroslaw.chodor@intel.com>
This commit is contained in:
Chodor, Jaroslaw
2023-11-16 16:48:56 +00:00
committed by Compute-Runtime-Automation
parent d99104d5bf
commit 7e795cd3c1
25 changed files with 809 additions and 157 deletions

View File

@@ -28,4 +28,6 @@ std::string convertEnabledExtensionsToCompilerInternalOptions(const char *device
OpenClCFeaturesContainer &openclCFeatures);
std::string getOclVersionCompilerInternalOption(unsigned int oclVersion);
cl_version getOclCExtensionVersion(std::string name, cl_version defaultVer);
} // namespace NEO