Enum rcudnn::cudaGraphMemAttributeType [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaGraphMemAttributeType {
cudaGraphMemAttrUsedMemCurrent,
cudaGraphMemAttrUsedMemHigh,
cudaGraphMemAttrReservedMemCurrent,
cudaGraphMemAttrReservedMemHigh,
}
Expand description
Graph memory attributes
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.
cudaGraphMemAttrUsedMemCurrent
(value type = cuuint64_t) Amount of memory, in bytes, currently associated with graphs.
cudaGraphMemAttrUsedMemHigh
(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.
cudaGraphMemAttrReservedMemCurrent
(value type = cuuint64_t) Amount of memory, in bytes, currently allocated for use by the CUDA graphs asynchronous allocator.
cudaGraphMemAttrReservedMemHigh
(value type = cuuint64_t) High watermark of memory, in bytes, currently allocated for use by the CUDA graphs asynchronous allocator.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaGraphMemAttributeType
impl Send for cudaGraphMemAttributeType
impl Sync for cudaGraphMemAttributeType
impl Unpin for cudaGraphMemAttributeType
impl UnwindSafe for cudaGraphMemAttributeType
Blanket Implementations
Mutably borrows from an owned value. Read more