Revert "Remove overridePlatformName method"

This reverts commit 2484c68fe3.

Signed-off-by: Compute-Runtime-Validation <compute-runtime-validation@intel.com>
This commit is contained in:
Compute-Runtime-Validation
2022-02-18 10:11:36 +01:00
committed by Compute-Runtime-Automation
parent 7d7efb5acd
commit 84a1ccb991
6 changed files with 21 additions and 0 deletions

View File

@@ -339,6 +339,7 @@ int OfflineCompiler::initHardwareInfo(std::string deviceName) {
return retVal;
}
overridePlatformName(deviceName);
std::transform(deviceName.begin(), deviceName.end(), deviceName.begin(), ::tolower);
const char hexPrefix = 2;
std::string product("");