#[repr(transparent)]pub struct cudaFuncCache(pub c_uint);
Expand description
CUDA function cache configurations
Tuple Fields§
§0: c_uint
Implementations§
Source§impl cudaFuncCache
impl cudaFuncCache
Sourcepub const cudaFuncCachePreferNone: cudaFuncCache
pub const cudaFuncCachePreferNone: cudaFuncCache
< Default function cache configuration, no preference
Source§impl cudaFuncCache
impl cudaFuncCache
< Prefer larger shared memory and smaller L1 cache
Source§impl cudaFuncCache
impl cudaFuncCache
Sourcepub const cudaFuncCachePreferL1: cudaFuncCache
pub const cudaFuncCachePreferL1: cudaFuncCache
< Prefer larger L1 cache and smaller shared memory
Source§impl cudaFuncCache
impl cudaFuncCache
Sourcepub const cudaFuncCachePreferEqual: cudaFuncCache
pub const cudaFuncCachePreferEqual: cudaFuncCache
< Prefer equal size L1 cache and shared memory
Trait Implementations§
Source§impl Clone for cudaFuncCache
impl Clone for cudaFuncCache
Source§fn clone(&self) -> cudaFuncCache
fn clone(&self) -> cudaFuncCache
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 cudaFuncCache
impl Debug for cudaFuncCache
Source§impl Hash for cudaFuncCache
impl Hash for cudaFuncCache
Source§impl PartialEq for cudaFuncCache
impl PartialEq for cudaFuncCache
impl Copy for cudaFuncCache
impl Eq for cudaFuncCache
impl StructuralPartialEq for cudaFuncCache
Auto Trait Implementations§
impl Freeze for cudaFuncCache
impl RefUnwindSafe for cudaFuncCache
impl Send for cudaFuncCache
impl Sync for cudaFuncCache
impl Unpin for cudaFuncCache
impl UnwindSafe for cudaFuncCache
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