#[repr(transparent)]pub struct CUfunc_cache_enum(pub c_uint);
Expand description
Function cache configurations
Tuple Fields§
§0: c_uint
Implementations§
Source§impl CUfunc_cache_enum
impl CUfunc_cache_enum
Sourcepub const CU_FUNC_CACHE_PREFER_NONE: CUfunc_cache_enum
pub const CU_FUNC_CACHE_PREFER_NONE: CUfunc_cache_enum
< no preference for shared memory or L1 (default)
Source§impl CUfunc_cache_enum
impl CUfunc_cache_enum
Sourcepub const CU_FUNC_CACHE_PREFER_SHARED: CUfunc_cache_enum
pub const CU_FUNC_CACHE_PREFER_SHARED: CUfunc_cache_enum
< prefer larger shared memory and smaller L1 cache
Source§impl CUfunc_cache_enum
impl CUfunc_cache_enum
Sourcepub const CU_FUNC_CACHE_PREFER_L1: CUfunc_cache_enum
pub const CU_FUNC_CACHE_PREFER_L1: CUfunc_cache_enum
< prefer larger L1 cache and smaller shared memory
Source§impl CUfunc_cache_enum
impl CUfunc_cache_enum
Sourcepub const CU_FUNC_CACHE_PREFER_EQUAL: CUfunc_cache_enum
pub const CU_FUNC_CACHE_PREFER_EQUAL: CUfunc_cache_enum
< prefer equal sized L1 cache and shared memory
Trait Implementations§
Source§impl Clone for CUfunc_cache_enum
impl Clone for CUfunc_cache_enum
Source§fn clone(&self) -> CUfunc_cache_enum
fn clone(&self) -> CUfunc_cache_enum
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 CUfunc_cache_enum
impl Debug for CUfunc_cache_enum
Source§impl Hash for CUfunc_cache_enum
impl Hash for CUfunc_cache_enum
Source§impl PartialEq for CUfunc_cache_enum
impl PartialEq for CUfunc_cache_enum
impl Copy for CUfunc_cache_enum
impl Eq for CUfunc_cache_enum
impl StructuralPartialEq for CUfunc_cache_enum
Auto Trait Implementations§
impl Freeze for CUfunc_cache_enum
impl RefUnwindSafe for CUfunc_cache_enum
impl Send for CUfunc_cache_enum
impl Sync for CUfunc_cache_enum
impl Unpin for CUfunc_cache_enum
impl UnwindSafe for CUfunc_cache_enum
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