Enum rustacuda::context::SharedMemoryConfig [−][src]
#[repr(u32)] pub enum SharedMemoryConfig { DefaultBankSize, FourByteBankSize, EightByteBankSize, // some variants omitted }
Expand description
This enumeration represents the options for configuring the shared memory bank size.
See CurrentContext::get_shared_memory_config and CurrentContext::set_shared_memory_config to get and set the cache config for the current context.
Variants
Set shared-memory bank size to the default.
Set shared-memory bank width to four bytes
Set shared-memory bank width to eight bytes
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SharedMemoryConfig
impl Send for SharedMemoryConfig
impl Sync for SharedMemoryConfig
impl Unpin for SharedMemoryConfig
impl UnwindSafe for SharedMemoryConfig
Blanket Implementations
Mutably borrows from an owned value. Read more