pub enum DeviceMemoryManagerBase {
CudaAsync {
initial_pool_size: Option<usize>,
release_threshold: Option<usize>,
},
Pool {
initial_pool_size: usize,
maximum_pool_size: Option<usize>,
},
}Expand description
Physical base used by the process-local device memory manager.
Variants§
CudaAsync
Use CUDA’s stream-ordered async memory pool.
Fields
Pool
Use RMM’s pool resource around the raw CUDA resource.
Trait Implementations§
Source§impl Clone for DeviceMemoryManagerBase
impl Clone for DeviceMemoryManagerBase
impl Copy for DeviceMemoryManagerBase
Source§impl Debug for DeviceMemoryManagerBase
impl Debug for DeviceMemoryManagerBase
Source§impl Default for DeviceMemoryManagerBase
impl Default for DeviceMemoryManagerBase
impl Eq for DeviceMemoryManagerBase
Source§impl PartialEq for DeviceMemoryManagerBase
impl PartialEq for DeviceMemoryManagerBase
impl StructuralPartialEq for DeviceMemoryManagerBase
Auto Trait Implementations§
impl Freeze for DeviceMemoryManagerBase
impl RefUnwindSafe for DeviceMemoryManagerBase
impl Send for DeviceMemoryManagerBase
impl Sync for DeviceMemoryManagerBase
impl Unpin for DeviceMemoryManagerBase
impl UnsafeUnpin for DeviceMemoryManagerBase
impl UnwindSafe for DeviceMemoryManagerBase
Blanket Implementations§
impl<T> Allocation for T
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
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.