pub struct SemanticSegmentColdCapacity {
pub tensor_content_capacity: usize,
pub model_work_capacity: usize,
pub segment_capacity_bytes: u64,
pub other_external_cuda_bytes: u64,
}Expand description
Frozen bounds for the content, work, and external allocations currently admitted during prepared-segment construction. Numerical-domain buffers require their own native-derived extension before the full peak is claimed.
Fields§
§tensor_content_capacity: usize§model_work_capacity: usize§segment_capacity_bytes: u64§other_external_cuda_bytes: u64Trait Implementations§
Source§impl Clone for SemanticSegmentColdCapacity
impl Clone for SemanticSegmentColdCapacity
Source§fn clone(&self) -> SemanticSegmentColdCapacity
fn clone(&self) -> SemanticSegmentColdCapacity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SemanticSegmentColdCapacity
Source§impl Debug for SemanticSegmentColdCapacity
impl Debug for SemanticSegmentColdCapacity
impl Eq for SemanticSegmentColdCapacity
impl StructuralPartialEq for SemanticSegmentColdCapacity
Auto Trait Implementations§
impl Freeze for SemanticSegmentColdCapacity
impl RefUnwindSafe for SemanticSegmentColdCapacity
impl Send for SemanticSegmentColdCapacity
impl Sync for SemanticSegmentColdCapacity
impl Unpin for SemanticSegmentColdCapacity
impl UnsafeUnpin for SemanticSegmentColdCapacity
impl UnwindSafe for SemanticSegmentColdCapacity
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more