pub enum MemAdvise {
SetReadMostly,
UnsetReadMostly,
SetPreferredLocation,
UnsetPreferredLocation,
SetAccessedBy,
UnsetAccessedBy,
}Expand description
Memory-usage advice for cuMemAdvise.
Variants§
SetReadMostly
UnsetReadMostly
SetPreferredLocation
UnsetPreferredLocation
SetAccessedBy
UnsetAccessedBy
Trait Implementations§
impl Copy for MemAdvise
impl Eq for MemAdvise
impl StructuralPartialEq for MemAdvise
Auto Trait Implementations§
impl Freeze for MemAdvise
impl RefUnwindSafe for MemAdvise
impl Send for MemAdvise
impl Sync for MemAdvise
impl Unpin for MemAdvise
impl UnsafeUnpin for MemAdvise
impl UnwindSafe for MemAdvise
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