#[repr(u32)]pub enum SharedMemConfig {
Default = 0,
FourByte = 1,
EightByte = 2,
}Expand description
Shared memory bank configuration.
Controls whether shared memory uses 4-byte or 8-byte bank width. 8-byte banks can reduce bank conflicts for 64-bit accesses.
Variants§
Default = 0
Use the device default bank size.
FourByte = 1
4-byte (32-bit) shared memory banks.
EightByte = 2
8-byte (64-bit) shared memory banks.
Trait Implementations§
Source§fn clone(&self) -> SharedMemConfig
fn clone(&self) -> SharedMemConfig
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