Enum rcudnn::cudaFuncCache [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaFuncCache {
cudaFuncCachePreferNone,
cudaFuncCachePreferShared,
cudaFuncCachePreferL1,
cudaFuncCachePreferEqual,
}
Expand description
CUDA function cache configurations
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
cudaFuncCachePreferNone
< Default function cache configuration, no preference
cudaFuncCachePreferShared
< Prefer larger shared memory and smaller L1 cache
cudaFuncCachePreferL1
< Prefer larger L1 cache and smaller shared memory
cudaFuncCachePreferEqual
< Prefer equal size L1 cache and shared memory
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaFuncCache
impl Send for cudaFuncCache
impl Sync for cudaFuncCache
impl Unpin for cudaFuncCache
impl UnwindSafe for cudaFuncCache
Blanket Implementations
Mutably borrows from an owned value. Read more