Enum rcudnn_sys::cudaMemoryType [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaMemoryType {
cudaMemoryTypeUnregistered,
cudaMemoryTypeHost,
cudaMemoryTypeDevice,
cudaMemoryTypeManaged,
}
Expand description
CUDA memory types
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.
cudaMemoryTypeUnregistered
< Unregistered memory
cudaMemoryTypeHost
< Host memory
cudaMemoryTypeDevice
< Device memory
cudaMemoryTypeManaged
< Managed memory
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaMemoryType
impl Send for cudaMemoryType
impl Sync for cudaMemoryType
impl Unpin for cudaMemoryType
impl UnwindSafe for cudaMemoryType
Blanket Implementations
Mutably borrows from an owned value. Read more