mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 09:58:55 +08:00
refactor: apply clang-format's InsertBraces rule
Formats code before InsertBraces rule is enabled. Signed-off-by: Radoslaw Jablonski <radoslaw.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9d1da44e08
commit
54de14a9dc
@@ -93,8 +93,9 @@ bool DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(ExecutionE
|
||||
hardwareInfo->platform.usDeviceID = aotInfo.deviceIds->front();
|
||||
} else if (aotInfo.deviceIds->front() != hardwareInfo->platform.usDeviceID) {
|
||||
std::stringstream devIds{};
|
||||
for (auto id : *aotInfo.deviceIds)
|
||||
for (auto id : *aotInfo.deviceIds) {
|
||||
devIds << "0x" << std::hex << id << ", ";
|
||||
}
|
||||
|
||||
NEO::printDebugString(NEO::debugManager.flags.PrintDebugMessages.get(),
|
||||
stdout, "Info@ %s(): Mismatch of device ids. ForceDeviceId %s is used for platform with multiple deviceIds: [%s]. Consider using OverrideHwIpVersion flag.\n",
|
||||
@@ -127,8 +128,9 @@ bool DeviceFactory::prepareDeviceEnvironmentsForProductFamilyOverride(ExecutionE
|
||||
if (csrType == CommandStreamReceiverType::tbx || csrType == CommandStreamReceiverType::tbxWithAub) {
|
||||
auto capsReader = productHelper.getDeviceCapsReader(*aubCenter->getAubManager());
|
||||
if (capsReader) {
|
||||
if (!productHelper.setupHardwareInfo(*hardwareInfo, *capsReader))
|
||||
if (!productHelper.setupHardwareInfo(*hardwareInfo, *capsReader)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user