#[repr(transparent)]pub struct CUgraphMem_attribute_enum(pub c_uint);Expand description
Device-level accounting and limits for memory allocated by CUDA graphs.
Tuple Fields§
§0: c_uintImplementations§
Source§impl CUgraphMem_attribute_enum
impl CUgraphMem_attribute_enum
Sourcepub const CU_GRAPH_MEM_ATTR_USED_MEM_CURRENT: CUgraphMem_attribute_enum
pub const CU_GRAPH_MEM_ATTR_USED_MEM_CURRENT: CUgraphMem_attribute_enum
(value type = cuuint64_t) Amount of memory, in bytes, currently associated with graphs.
Sourcepub const CU_GRAPH_MEM_ATTR_USED_MEM_HIGH: CUgraphMem_attribute_enum
pub const CU_GRAPH_MEM_ATTR_USED_MEM_HIGH: CUgraphMem_attribute_enum
(value type = cuuint64_t) High watermark of memory, in bytes, associated with graphs since the last time it was reset.
High watermark can only be reset to zero.
Sourcepub const CU_GRAPH_MEM_ATTR_RESERVED_MEM_CURRENT: CUgraphMem_attribute_enum
pub const CU_GRAPH_MEM_ATTR_RESERVED_MEM_CURRENT: CUgraphMem_attribute_enum
(value type = cuuint64_t) Amount of memory, in bytes, currently allocated for use by the CUDA graphs asynchronous allocator.
Sourcepub const CU_GRAPH_MEM_ATTR_RESERVED_MEM_HIGH: CUgraphMem_attribute_enum
pub const CU_GRAPH_MEM_ATTR_RESERVED_MEM_HIGH: CUgraphMem_attribute_enum
(value type = cuuint64_t) High watermark of memory, in bytes, currently allocated for use by the CUDA graphs asynchronous allocator.
Trait Implementations§
Source§impl Clone for CUgraphMem_attribute_enum
impl Clone for CUgraphMem_attribute_enum
impl Copy for CUgraphMem_attribute_enum
Source§impl Debug for CUgraphMem_attribute_enum
impl Debug for CUgraphMem_attribute_enum
impl Eq for CUgraphMem_attribute_enum
Source§impl Hash for CUgraphMem_attribute_enum
impl Hash for CUgraphMem_attribute_enum
Source§impl Ord for CUgraphMem_attribute_enum
impl Ord for CUgraphMem_attribute_enum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for CUgraphMem_attribute_enum
impl PartialOrd for CUgraphMem_attribute_enum
impl StructuralPartialEq for CUgraphMem_attribute_enum
Auto Trait Implementations§
impl Forget for CUgraphMem_attribute_enum
impl Freeze for CUgraphMem_attribute_enum
impl Move for CUgraphMem_attribute_enum
impl RefUnwindSafe for CUgraphMem_attribute_enum
impl Send for CUgraphMem_attribute_enum
impl Sync for CUgraphMem_attribute_enum
impl Unpin for CUgraphMem_attribute_enum
impl UnsafeUnpin for CUgraphMem_attribute_enum
impl UnwindSafe for CUgraphMem_attribute_enum
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