pub struct DriverTerms {
pub driver_fixed_bytes: u64,
pub driver_budget_per_mille: u64,
pub unified: bool,
pub util_ceiling: f64,
}Expand description
2026-10-02: What the driver holds beyond the allocation ledger, for one device class.
Fields§
§driver_fixed_bytes: u642026-10-02: The CUDA context, loaded modules, the local-memory reservation and the graphs, bytes.
driver_budget_per_mille: u642026-10-02: The driver’s per-allocation bookkeeping, per mille of the util budget.
unified: bool2026-10-02: Host memory is the device’s memory (a unified-memory SoC): host caches compete for the same pool, outside the util budget.
util_ceiling: f642026-10-02: The largest --gpu-memory-utilization a serve of this class may run at.
Implementations§
Source§impl DriverTerms
impl DriverTerms
Trait Implementations§
Source§impl Clone for DriverTerms
impl Clone for DriverTerms
Source§fn clone(&self) -> DriverTerms
fn clone(&self) -> DriverTerms
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DriverTerms
impl Debug for DriverTerms
Source§impl<'de> Deserialize<'de> for DriverTerms
impl<'de> Deserialize<'de> for DriverTerms
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DriverTerms
impl PartialEq for DriverTerms
impl Copy for DriverTerms
impl StructuralPartialEq for DriverTerms
Auto Trait Implementations§
impl Freeze for DriverTerms
impl RefUnwindSafe for DriverTerms
impl Send for DriverTerms
impl Sync for DriverTerms
impl Unpin for DriverTerms
impl UnwindSafe for DriverTerms
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