Enum rcudnn::cudaMemAllocationType [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaMemAllocationType {
cudaMemAllocationTypeInvalid,
cudaMemAllocationTypePinned,
cudaMemAllocationTypeMax,
}
Expand description
Defines the allocation types available
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.
cudaMemAllocationTypeInvalid
cudaMemAllocationTypePinned
This allocation type is ‘pinned’, i.e. cannot migrate from its current location while the application is actively using it
cudaMemAllocationTypeMax
This allocation type is ‘pinned’, i.e. cannot migrate from its current location while the application is actively using it
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaMemAllocationType
impl Send for cudaMemAllocationType
impl Sync for cudaMemAllocationType
impl Unpin for cudaMemAllocationType
impl UnwindSafe for cudaMemAllocationType
Blanket Implementations
Mutably borrows from an owned value. Read more