refactor ocloc interface

Signed-off-by: Krystian Chmielewski <krystian.chmielewski@intel.com>
This commit is contained in:
Krystian Chmielewski
2022-09-22 16:55:35 +00:00
committed by Compute-Runtime-Automation
parent 183d82b021
commit af57d2bd38
11 changed files with 318 additions and 233 deletions

View File

@@ -200,10 +200,6 @@ void OclocArgHelper::saveOutput(const std::string &filename, const std::ostream
}
}
bool OclocArgHelper::areQuotesRequired(const std::string_view &argName) {
return argName == "-options" || argName == "-internal_options";
}
bool OclocArgHelper::setAcronymForDeviceId(std::string &device) {
auto product = returnProductNameForDevice(std::stoi(device, 0, 16));
if (!product.empty()) {