Cycles: Unify logging for devices discovery
This commit is contained in:
parent
446b92d2ce
commit
b2678156fa
@ -195,7 +195,7 @@ void device_cuda_info(vector<DeviceInfo> &devices)
|
||||
VLOG_INFO << "Device has compute preemption or is not used for display.";
|
||||
devices.push_back(info);
|
||||
}
|
||||
VLOG_INFO << "Added device \"" << name << "\" with id \"" << info.id << "\".";
|
||||
VLOG_INFO << "Added device \"" << info.description << "\" with id \"" << info.id << "\".";
|
||||
}
|
||||
|
||||
if (!display_devices.empty()) {
|
||||
|
@ -206,7 +206,7 @@ void device_hip_info(vector<DeviceInfo> &devices)
|
||||
devices.push_back(info);
|
||||
}
|
||||
|
||||
VLOG_INFO << "Added device \"" << name << "\" with id \"" << info.id << "\".";
|
||||
VLOG_INFO << "Added device \"" << info.description << "\" with id \"" << info.id << "\".";
|
||||
}
|
||||
|
||||
if (!display_devices.empty())
|
||||
|
@ -85,6 +85,8 @@ void device_metal_info(vector<DeviceInfo> &devices)
|
||||
|
||||
devices.push_back(info);
|
||||
device_index++;
|
||||
|
||||
VLOG_INFO << "Added device \"" << info.description << "\" with id \"" << info.id << "\".";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -131,7 +131,7 @@ static void device_iterator_cb(
|
||||
# endif
|
||||
|
||||
devices->push_back(info);
|
||||
VLOG_INFO << "Added device \"" << name << "\" with id \"" << info.id << "\".";
|
||||
VLOG_INFO << "Added device \"" << info.description << "\" with id \"" << info.id << "\".";
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user