pub struct MemoryPoolProps {
pub alloc_type: MemoryAllocationType,
pub handle_types: AllocationHandleTypes,
pub location: MemoryLocation,
pub max_size: usize,
pub usage: MemoryPoolUsage,
pub gpu_direct_rdma_capable: bool,
}Expand description
Allocation, sharing, and placement properties for creating a CUDA memory pool.
Fields§
§alloc_type: MemoryAllocationTypeType of memory allocated from the pool.
handle_types: AllocationHandleTypesHandle types pool memory can be exported as; empty disables IPC export.
location: MemoryLocationBacking location, or preferred location for managed allocations.
max_size: usizeMaximum pool size in bytes; zero uses the system-dependent limit.
usage: MemoryPoolUsageAdditional usage requirements for allocations from the pool.
gpu_direct_rdma_capable: boolEnables GPUDirect RDMA access for allocations from this pool.
Trait Implementations§
Source§impl Clone for MemoryPoolProps
impl Clone for MemoryPoolProps
impl Copy for MemoryPoolProps
Source§impl Debug for MemoryPoolProps
impl Debug for MemoryPoolProps
impl Eq for MemoryPoolProps
Source§impl From<MemoryPoolProps> for CUmemPoolProps
impl From<MemoryPoolProps> for CUmemPoolProps
Source§fn from(value: MemoryPoolProps) -> Self
fn from(value: MemoryPoolProps) -> Self
Converts to this type from the input type.
Source§impl Hash for MemoryPoolProps
impl Hash for MemoryPoolProps
Source§impl PartialEq for MemoryPoolProps
impl PartialEq for MemoryPoolProps
impl StructuralPartialEq for MemoryPoolProps
Auto Trait Implementations§
impl Forget for MemoryPoolProps
impl Freeze for MemoryPoolProps
impl Move for MemoryPoolProps
impl RefUnwindSafe for MemoryPoolProps
impl Send for MemoryPoolProps
impl Sync for MemoryPoolProps
impl Unpin for MemoryPoolProps
impl UnsafeUnpin for MemoryPoolProps
impl UnwindSafe for MemoryPoolProps
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.