pub struct MultiGpuStats {
pub device_count: usize,
pub total_kernels: usize,
pub total_memory: u64,
pub available_memory: u64,
pub kernels_launched: u64,
}Expand description
Multi-GPU coordinator statistics.
Fields§
§device_count: usizeNumber of registered devices.
total_kernels: usizeTotal kernels across all devices.
total_memory: u64Total memory across all devices.
available_memory: u64Available memory across all devices.
kernels_launched: u64Total kernels launched since start.
Trait Implementations§
Source§impl Clone for MultiGpuStats
impl Clone for MultiGpuStats
Source§fn clone(&self) -> MultiGpuStats
fn clone(&self) -> MultiGpuStats
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultiGpuStats
impl Debug for MultiGpuStats
Source§impl Default for MultiGpuStats
impl Default for MultiGpuStats
Source§fn default() -> MultiGpuStats
fn default() -> MultiGpuStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MultiGpuStats
impl RefUnwindSafe for MultiGpuStats
impl Send for MultiGpuStats
impl Sync for MultiGpuStats
impl Unpin for MultiGpuStats
impl UnwindSafe for MultiGpuStats
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<F, W, T, D> Deserialize<With<T, W>, D> for F
impl<F, W, T, D> Deserialize<With<T, W>, D> for F
§fn deserialize(
&self,
deserializer: &mut D,
) -> Result<With<T, W>, <D as Fallible>::Error>
fn deserialize( &self, deserializer: &mut D, ) -> Result<With<T, W>, <D as Fallible>::Error>
Deserializes using the given deserializer
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Gets the layout of the type.