Enum rustacuda::context::SharedMemoryConfig
source · #[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§
DefaultBankSize
Set shared-memory bank size to the default.
FourByteBankSize
Set shared-memory bank width to four bytes
EightByteBankSize
Set shared-memory bank width to eight bytes
Trait Implementations§
source§fn clone(&self) -> SharedMemoryConfig
fn clone(&self) -> SharedMemoryConfig
Returns a copy 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 more