pub struct PinnedStats {
pub reserved_bytes: usize,
pub active_bytes: usize,
pub chunks: usize,
}Expand description
Byte and chunk counts of a context’s pinned host memory pool.
Fields§
§reserved_bytes: usizeBytes the pool holds from CUDA, in free and live blocks.
active_bytes: usizeBytes in live blocks, each counted at its size class.
chunks: usizeAllocations the pool holds from CUDA.
Trait Implementations§
Source§impl Clone for PinnedStats
impl Clone for PinnedStats
impl Copy for PinnedStats
Source§impl Debug for PinnedStats
impl Debug for PinnedStats
Source§impl Default for PinnedStats
impl Default for PinnedStats
impl Eq for PinnedStats
Source§impl PartialEq for PinnedStats
impl PartialEq for PinnedStats
impl StructuralPartialEq for PinnedStats
Auto Trait Implementations§
impl Forget for PinnedStats
impl Freeze for PinnedStats
impl Move for PinnedStats
impl RefUnwindSafe for PinnedStats
impl Send for PinnedStats
impl Sync for PinnedStats
impl Unpin for PinnedStats
impl UnsafeUnpin for PinnedStats
impl UnwindSafe for PinnedStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.