Enum rcudnn::cudaSharedCarveout [−][src]
#[repr(i32)]
#[non_exhaustive]
pub enum cudaSharedCarveout {
cudaSharedmemCarveoutDefault,
cudaSharedmemCarveoutMaxShared,
cudaSharedmemCarveoutMaxL1,
}
Expand description
Shared memory carveout configurations. These may be passed to cudaFuncSetAttribute
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.
cudaSharedmemCarveoutDefault
< No preference for shared memory or L1 (default)
cudaSharedmemCarveoutMaxShared
< Prefer maximum available shared memory, minimum L1 cache
cudaSharedmemCarveoutMaxL1
< Prefer maximum available L1 cache, minimum shared memory
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaSharedCarveout
impl Send for cudaSharedCarveout
impl Sync for cudaSharedCarveout
impl Unpin for cudaSharedCarveout
impl UnwindSafe for cudaSharedCarveout
Blanket Implementations
Mutably borrows from an owned value. Read more