set correct pci id for second MI50

This commit is contained in:
uvos 2023-09-14 22:22:20 +02:00
parent 9a1d3d301f
commit 79a11e6214

View File

@ -69,7 +69,7 @@ double fan_curve(double temperature, double min_fan, double max_fan, double low_
double gpu_fan_zone(const std::vector<Sensor>& sensors) double gpu_fan_zone(const std::vector<Sensor>& sensors)
{ {
std::vector<std::pair<std::string, bool>> gpus = {{"amdgpu-pci-0300", false}, {"amdgpu-pci-c300", false}}; std::vector<std::pair<std::string, bool>> gpus = {{"amdgpu-pci-0300", false}, {"amdgpu-pci-8300", false}};
const char monitored_sensor_name[] = "edge"; const char monitored_sensor_name[] = "edge";
double max_temp = std::numeric_limits<double>::min(); double max_temp = std::numeric_limits<double>::min();