#[repr(transparent)]pub struct CUfunc_cache_enum(pub c_uint);Expand description
Function cache configurations
Tuple Fields§
§0: c_uintImplementations§
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).
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.
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.
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
impl Copy for CUfunc_cache_enum
Source§impl Debug for CUfunc_cache_enum
impl Debug for CUfunc_cache_enum
impl Eq for CUfunc_cache_enum
Source§impl Hash for CUfunc_cache_enum
impl Hash for CUfunc_cache_enum
Source§impl Ord for CUfunc_cache_enum
impl Ord for CUfunc_cache_enum
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CUfunc_cache_enum
impl PartialEq for CUfunc_cache_enum
Source§impl PartialOrd for CUfunc_cache_enum
impl PartialOrd for CUfunc_cache_enum
impl StructuralPartialEq for CUfunc_cache_enum
Auto Trait Implementations§
impl Forget for CUfunc_cache_enum
impl Freeze for CUfunc_cache_enum
impl Move 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 UnsafeUnpin 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