#[repr(transparent)]pub struct cudaSharedCarveout(pub c_int);
Expand description
Shared memory carveout configurations. These may be passed to cudaFuncSetAttribute
Tuple Fields§
§0: c_int
Implementations§
< No preference for shared memory or L1 (default)
< Prefer maximum available shared memory, minimum L1 cache
< Prefer maximum available L1 cache, minimum shared memory
Trait Implementations§
Source§fn clone(&self) -> cudaSharedCarveout
fn clone(&self) -> cudaSharedCarveout
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 moreAuto Trait Implementations§
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