#[repr(u32)]pub enum FuncCache {
PreferNone = 0,
PreferShared = 1,
PreferL1 = 2,
PreferEqual = 3,
}
Expand description
A Function
cache config
Variants§
PreferNone = 0
no preference for shared memory or L1 (default)
prefer larger shared memory and smaller L1 cache
PreferL1 = 2
prefer larger L1 cache and smaller shared memory
PreferEqual = 3
prefer equal sized L1 cache and shared memory
Trait Implementations§
Source§impl TryFromPrimitive for FuncCache
impl TryFromPrimitive for FuncCache
impl Copy for FuncCache
Auto Trait Implementations§
impl Freeze for FuncCache
impl RefUnwindSafe for FuncCache
impl Send for FuncCache
impl Sync for FuncCache
impl Unpin for FuncCache
impl UnwindSafe for FuncCache
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