[][src]Enum nvml_wrapper::enum_wrappers::device::MemoryLocation

pub enum MemoryLocation {
    L1Cache,
    L2Cache,
    Device,
    RegisterFile,
    Texture,
    Shared,
    Cbu,
    SRAM,
}

Memory locations. See Device.memory_error_counter().

Variants

L1Cache

GPU L1 cache.

L2Cache

GPU L2 cache.

Device

GPU device memory.

RegisterFile

GPU register file.

Texture

GPU texture memory.

Shared

Shared memory.

Cbu
SRAM

SRAM present on Turing and above.

Implementations

impl MemoryLocation[src]

pub fn as_c(&self) -> nvmlMemoryLocation_enum[src]

Returns the C enum variant equivalent for the given Rust enum variant

Trait Implementations

impl Clone for MemoryLocation[src]

impl Debug for MemoryLocation[src]

impl Eq for MemoryLocation[src]

impl Hash for MemoryLocation[src]

impl PartialEq<MemoryLocation> for MemoryLocation[src]

impl StructuralEq for MemoryLocation[src]

impl StructuralPartialEq for MemoryLocation[src]

impl TryFrom<u32> for MemoryLocation[src]

type Error = NvmlError

The type returned in the event of a conversion error.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.