Enum rcudnn_sys::cudaMemPoolAttr
source · #[non_exhaustive]#[repr(u32)]pub enum cudaMemPoolAttr {
cudaMemPoolReuseFollowEventDependencies = 1,
cudaMemPoolReuseAllowOpportunistic = 2,
cudaMemPoolReuseAllowInternalDependencies = 3,
cudaMemPoolAttrReleaseThreshold = 4,
cudaMemPoolAttrReservedMemCurrent = 5,
cudaMemPoolAttrReservedMemHigh = 6,
cudaMemPoolAttrUsedMemCurrent = 7,
cudaMemPoolAttrUsedMemHigh = 8,
}
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.
cudaMemPoolReuseFollowEventDependencies = 1
cudaMemPoolReuseAllowOpportunistic = 2
cudaMemPoolReuseAllowInternalDependencies = 3
cudaMemPoolAttrReleaseThreshold = 4
cudaMemPoolAttrReservedMemCurrent = 5
cudaMemPoolAttrReservedMemHigh = 6
cudaMemPoolAttrUsedMemCurrent = 7
cudaMemPoolAttrUsedMemHigh = 8
Trait Implementations§
source§impl Clone for cudaMemPoolAttr
impl Clone for cudaMemPoolAttr
source§fn clone(&self) -> cudaMemPoolAttr
fn clone(&self) -> cudaMemPoolAttr
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 cudaMemPoolAttr
impl Debug for cudaMemPoolAttr
source§impl Hash for cudaMemPoolAttr
impl Hash for cudaMemPoolAttr
source§impl PartialEq for cudaMemPoolAttr
impl PartialEq for cudaMemPoolAttr
source§fn eq(&self, other: &cudaMemPoolAttr) -> bool
fn eq(&self, other: &cudaMemPoolAttr) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for cudaMemPoolAttr
impl Eq for cudaMemPoolAttr
impl StructuralPartialEq for cudaMemPoolAttr
Auto Trait Implementations§
impl RefUnwindSafe for cudaMemPoolAttr
impl Send for cudaMemPoolAttr
impl Sync for cudaMemPoolAttr
impl Unpin for cudaMemPoolAttr
impl UnwindSafe for cudaMemPoolAttr
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