Skip to content

Commit

Permalink
fix: fix voltage offset config apply (0 iq bug)
Browse files Browse the repository at this point in the history
  • Loading branch information
bisspector committed Nov 21, 2023
1 parent 457a80f commit 0ceb97a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lact-daemon/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ impl Gpu {
self.max_core_clock,
self.max_memory_clock,
self.min_voltage,
self.voltage_offset,
]
.iter()
.any(Option::is_some)
Expand All @@ -100,6 +101,7 @@ impl Gpu {
self.max_core_clock = None;
self.max_memory_clock = None;
self.max_voltage = None;
self.voltage_offset = None;

assert!(!self.is_core_clocks_used());
}
Expand Down

0 comments on commit 0ceb97a

Please sign in to comment.