#[repr(transparent)]pub struct cudaGraphMemAttributeType(pub c_uint);
Expand description
Graph memory attributes
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaGraphMemAttributeType
impl cudaGraphMemAttributeType
Sourcepub const cudaGraphMemAttrUsedMemCurrent: cudaGraphMemAttributeType
pub const cudaGraphMemAttrUsedMemCurrent: cudaGraphMemAttributeType
(value type = cuuint64_t) Amount of memory, in bytes, currently associated with graphs.
Source§impl cudaGraphMemAttributeType
impl cudaGraphMemAttributeType
Sourcepub const cudaGraphMemAttrUsedMemHigh: cudaGraphMemAttributeType
pub const cudaGraphMemAttrUsedMemHigh: cudaGraphMemAttributeType
(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 cudaGraphMemAttributeType
impl cudaGraphMemAttributeType
Sourcepub const cudaGraphMemAttrReservedMemCurrent: cudaGraphMemAttributeType
pub const cudaGraphMemAttrReservedMemCurrent: cudaGraphMemAttributeType
(value type = cuuint64_t) Amount of memory, in bytes, currently allocated for use by the CUDA graphs asynchronous allocator.
Source§impl cudaGraphMemAttributeType
impl cudaGraphMemAttributeType
Sourcepub const cudaGraphMemAttrReservedMemHigh: cudaGraphMemAttributeType
pub const cudaGraphMemAttrReservedMemHigh: cudaGraphMemAttributeType
(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 cudaGraphMemAttributeType
impl Clone for cudaGraphMemAttributeType
Source§fn clone(&self) -> cudaGraphMemAttributeType
fn clone(&self) -> cudaGraphMemAttributeType
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 cudaGraphMemAttributeType
impl Debug for cudaGraphMemAttributeType
Source§impl Hash for cudaGraphMemAttributeType
impl Hash for cudaGraphMemAttributeType
impl Copy for cudaGraphMemAttributeType
impl Eq for cudaGraphMemAttributeType
impl StructuralPartialEq for cudaGraphMemAttributeType
Auto Trait Implementations§
impl Freeze for cudaGraphMemAttributeType
impl RefUnwindSafe for cudaGraphMemAttributeType
impl Send for cudaGraphMemAttributeType
impl Sync for cudaGraphMemAttributeType
impl Unpin for cudaGraphMemAttributeType
impl UnwindSafe for cudaGraphMemAttributeType
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