Enum rcudnn_sys::cudaMemAllocationHandleType [−][src]
#[repr(u32)]
#[non_exhaustive]
pub enum cudaMemAllocationHandleType {
cudaMemHandleTypeNone,
cudaMemHandleTypePosixFileDescriptor,
cudaMemHandleTypeWin32,
cudaMemHandleTypeWin32Kmt,
}
Expand description
Flags for specifying particular handle 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.
cudaMemHandleTypeNone
< Does not allow any export mechanism. >
cudaMemHandleTypePosixFileDescriptor
< Allows a file descriptor to be used for exporting. Permitted only on POSIX systems. (int)
cudaMemHandleTypeWin32
< Allows a Win32 NT handle to be used for exporting. (HANDLE)
cudaMemHandleTypeWin32Kmt
< Allows a Win32 KMT handle to be used for exporting. (D3DKMT_HANDLE)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for cudaMemAllocationHandleType
impl Send for cudaMemAllocationHandleType
impl Sync for cudaMemAllocationHandleType
impl Unpin for cudaMemAllocationHandleType
impl UnwindSafe for cudaMemAllocationHandleType
Blanket Implementations
Mutably borrows from an owned value. Read more