#[non_exhaustive]#[repr(u32)]pub enum cudaFlushGPUDirectRDMAWritesOptions {
cudaFlushGPUDirectRDMAWritesOptionHost = 1,
cudaFlushGPUDirectRDMAWritesOptionMemOps = 2,
}Expand description
CUDA GPUDirect RDMA flush writes APIs supported on the device
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.
cudaFlushGPUDirectRDMAWritesOptionHost = 1
< ::cudaDeviceFlushGPUDirectRDMAWrites() and its CUDA Driver API counterpart are supported on the device.
cudaFlushGPUDirectRDMAWritesOptionMemOps = 2
< The ::CU_STREAM_WAIT_VALUE_FLUSH flag and the ::CU_STREAM_MEM_OP_FLUSH_REMOTE_WRITES MemOp are supported on the CUDA device.
Trait Implementations§
Source§impl Clone for cudaFlushGPUDirectRDMAWritesOptions
impl Clone for cudaFlushGPUDirectRDMAWritesOptions
Source§fn clone(&self) -> cudaFlushGPUDirectRDMAWritesOptions
fn clone(&self) -> cudaFlushGPUDirectRDMAWritesOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for cudaFlushGPUDirectRDMAWritesOptions
impl PartialEq for cudaFlushGPUDirectRDMAWritesOptions
Source§fn eq(&self, other: &cudaFlushGPUDirectRDMAWritesOptions) -> bool
fn eq(&self, other: &cudaFlushGPUDirectRDMAWritesOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for cudaFlushGPUDirectRDMAWritesOptions
impl Eq for cudaFlushGPUDirectRDMAWritesOptions
impl StructuralPartialEq for cudaFlushGPUDirectRDMAWritesOptions
Auto Trait Implementations§
impl Freeze for cudaFlushGPUDirectRDMAWritesOptions
impl RefUnwindSafe for cudaFlushGPUDirectRDMAWritesOptions
impl Send for cudaFlushGPUDirectRDMAWritesOptions
impl Sync for cudaFlushGPUDirectRDMAWritesOptions
impl Unpin for cudaFlushGPUDirectRDMAWritesOptions
impl UnwindSafe for cudaFlushGPUDirectRDMAWritesOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more