pub struct OdRange {
pub sclk: Option<Range>,
pub sclk_offset: Option<Range>,
pub mclk: Option<Range>,
pub curve_sclk_points: Vec<Range>,
pub curve_voltage_points: Vec<Range>,
pub voltage_offset: Option<Range>,
}Expand description
The ranges for overclocking values which the GPU allows to be used.
Fields§
§sclk: Option<Range>Clocks range for sclk (in MHz). Present on RDNA1-3.
sclk_offset: Option<Range>Clocks offset range for sclk (in MHz). Present on at least RDNA4.
mclk: Option<Range>Clocks range for mclk (in MHz). Present on discrete GPUs only.
curve_sclk_points: Vec<Range>Frequencies available at specific levels.
curve_voltage_points: Vec<Range>Ranges available at specific levels.
voltage_offset: Option<Range>Allowed voltage offset range. Present on RDNA3+.
Trait Implementations§
impl Eq for OdRange
impl StructuralPartialEq for OdRange
Auto Trait Implementations§
impl Freeze for OdRange
impl RefUnwindSafe for OdRange
impl Send for OdRange
impl Sync for OdRange
impl Unpin for OdRange
impl UnwindSafe for OdRange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more