pub struct CuHostMemoryPool<T> { /* private fields */ }
Expand description
A pool of host memory buffers.
Implementations§
Trait Implementations§
Source§impl<T: ArrayLike> CuPool<T> for CuHostMemoryPool<T>
impl<T: ArrayLike> CuPool<T> for CuHostMemoryPool<T>
Source§impl<T: ArrayLike> PoolMonitor for CuHostMemoryPool<T>
impl<T: ArrayLike> PoolMonitor for CuHostMemoryPool<T>
Source§fn id(&self) -> ArrayString<64>
fn id(&self) -> ArrayString<64>
A unique and descriptive identifier for the pool.
Source§fn space_left(&self) -> usize
fn space_left(&self) -> usize
Number of buffer slots left in the pool.
Source§fn total_size(&self) -> usize
fn total_size(&self) -> usize
Total size of the pool in number of buffers.
Source§fn buffer_size(&self) -> usize
fn buffer_size(&self) -> usize
Size of one buffer
Auto Trait Implementations§
impl<T> Freeze for CuHostMemoryPool<T>
impl<T> !RefUnwindSafe for CuHostMemoryPool<T>
impl<T> Send for CuHostMemoryPool<T>where
T: Send,
impl<T> Sync for CuHostMemoryPool<T>where
T: Send,
impl<T> Unpin for CuHostMemoryPool<T>
impl<T> !UnwindSafe for CuHostMemoryPool<T>
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