Enum hip_sys::hiprt::hipGraphMemAttributeType
source · #[non_exhaustive]#[repr(u32)]pub enum hipGraphMemAttributeType {
hipGraphMemAttrUsedMemCurrent,
hipGraphMemAttrUsedMemHigh,
hipGraphMemAttrReservedMemCurrent,
hipGraphMemAttrReservedMemHigh,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
hipGraphMemAttrUsedMemCurrent
< Amount of memory, in bytes, currently associated with graphs
hipGraphMemAttrUsedMemHigh
< High watermark of memory, in bytes, associated with graphs since the last time.
hipGraphMemAttrReservedMemCurrent
< Amount of memory, in bytes, currently allocated for graphs.
hipGraphMemAttrReservedMemHigh
< High watermark of memory, in bytes, currently allocated for graphs
Trait Implementations§
source§impl Clone for hipGraphMemAttributeType
impl Clone for hipGraphMemAttributeType
source§fn clone(&self) -> hipGraphMemAttributeType
fn clone(&self) -> hipGraphMemAttributeType
Returns a copy 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 hipGraphMemAttributeType
impl Debug for hipGraphMemAttributeType
source§impl Hash for hipGraphMemAttributeType
impl Hash for hipGraphMemAttributeType
source§impl Ord for hipGraphMemAttributeType
impl Ord for hipGraphMemAttributeType
source§fn cmp(&self, other: &hipGraphMemAttributeType) -> Ordering
fn cmp(&self, other: &hipGraphMemAttributeType) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<hipGraphMemAttributeType> for hipGraphMemAttributeType
impl PartialEq<hipGraphMemAttributeType> for hipGraphMemAttributeType
source§fn eq(&self, other: &hipGraphMemAttributeType) -> bool
fn eq(&self, other: &hipGraphMemAttributeType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<hipGraphMemAttributeType> for hipGraphMemAttributeType
impl PartialOrd<hipGraphMemAttributeType> for hipGraphMemAttributeType
source§fn partial_cmp(&self, other: &hipGraphMemAttributeType) -> Option<Ordering>
fn partial_cmp(&self, other: &hipGraphMemAttributeType) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for hipGraphMemAttributeType
impl Eq for hipGraphMemAttributeType
impl StructuralEq for hipGraphMemAttributeType
impl StructuralPartialEq for hipGraphMemAttributeType
Auto Trait Implementations§
impl RefUnwindSafe for hipGraphMemAttributeType
impl Send for hipGraphMemAttributeType
impl Sync for hipGraphMemAttributeType
impl Unpin for hipGraphMemAttributeType
impl UnwindSafe for hipGraphMemAttributeType
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