@@ -47,7 +47,7 @@ void ProductConfigHelper::adjustDeviceName(std::string &device) {
4747 device = device.substr (0 , findCore);
4848 }
4949
50- auto findUnderscore = device.find (" _ " );
50+ auto findUnderscore = device.find (' _ ' );
5151 if (findUnderscore != std::string::npos) {
5252 device.erase (std::remove (device.begin (), device.end (), ' _' ), device.end ());
5353 }
@@ -146,7 +146,7 @@ bool ProductConfigHelper::isSupportedProductConfig(uint32_t config) const {
146146
147147AOT::PRODUCT_CONFIG ProductConfigHelper::getProductConfigFromDeviceName (const std::string &device) const {
148148 uint32_t config = AOT::UNKNOWN_ISA;
149- if (device.find (" . " ) != std::string::npos) {
149+ if (device.find (' . ' ) != std::string::npos) {
150150 config = getProductConfigFromVersionValue (device);
151151 } else if (std::all_of (device.begin (), device.end (), (::isdigit))) {
152152 config = static_cast <uint32_t >(std::stoul (device));
@@ -212,7 +212,7 @@ std::vector<NEO::ConstStringRef> ProductConfigHelper::getAllProductAcronyms() {
212212
213213PRODUCT_FAMILY ProductConfigHelper::getProductFamilyFromDeviceName (const std::string &device) const {
214214 std::vector<DeviceAotInfo>::const_iterator it;
215- if (device.find (" . " ) != std::string::npos) {
215+ if (device.find (' . ' ) != std::string::npos) {
216216 it = std::find_if (deviceAotInfo.begin (), deviceAotInfo.end (), findProductConfig (getProductConfigFromVersionValue (device)));
217217 } else {
218218 it = std::find_if (deviceAotInfo.begin (), deviceAotInfo.end (), findAcronym (device));
@@ -271,13 +271,13 @@ int ProductConfigHelper::parseProductConfigFromString(const std::string &device,
271271}
272272
273273uint32_t ProductConfigHelper::getProductConfigFromVersionValue (const std::string &device) {
274- auto majorPos = device.find (" . " );
274+ auto majorPos = device.find (' . ' );
275275 auto major = parseProductConfigFromString (device, 0 , majorPos);
276276 if (major == ConfigStatus::MismatchedValue || majorPos == std::string::npos) {
277277 return AOT::UNKNOWN_ISA;
278278 }
279279
280- auto minorPos = device.find (" . " , ++majorPos);
280+ auto minorPos = device.find (' . ' , ++majorPos);
281281 auto minor = parseProductConfigFromString (device, majorPos, minorPos);
282282
283283 if (minor == ConfigStatus::MismatchedValue || minorPos == std::string::npos) {
0 commit comments