set correct pci id for second MI50
This commit is contained in:
		
							parent
							
								
									9a1d3d301f
								
							
						
					
					
						commit
						79a11e6214
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								main.cpp
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								main.cpp
									
										
									
									
									
								
							| 
						 | 
					@ -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();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue