#[repr(transparent)]pub struct CUgraphMem_attribute(pub c_uint);
Tuple Fields§
§0: c_uint
Implementations§
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
Source§impl CUgraphMem_attribute_enum
impl CUgraphMem_attribute_enum
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.
Source§impl CUgraphMem_attribute_enum
impl CUgraphMem_attribute_enum
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.
Source§impl CUgraphMem_attribute_enum
impl CUgraphMem_attribute_enum
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
Source§fn clone(&self) -> CUgraphMem_attribute_enum
fn clone(&self) -> CUgraphMem_attribute_enum
Returns a duplicate 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 CUgraphMem_attribute_enum
impl Debug for CUgraphMem_attribute_enum
Source§impl Hash for CUgraphMem_attribute_enum
impl Hash for CUgraphMem_attribute_enum
impl Copy for CUgraphMem_attribute_enum
impl Eq for CUgraphMem_attribute_enum
impl StructuralPartialEq for CUgraphMem_attribute_enum
Auto Trait Implementations§
impl Freeze 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 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