pub enum Bottleneck {
ComputeBound,
MemoryBound,
}Expand description
Whether an operation is bottlenecked by compute or memory bandwidth.
Variants§
ComputeBound
FLOPs exceed what can be hidden by memory latency.
MemoryBound
Memory traffic exceeds what can be hidden by compute.
Trait Implementations§
Source§impl Clone for Bottleneck
impl Clone for Bottleneck
Source§fn clone(&self) -> Bottleneck
fn clone(&self) -> Bottleneck
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 Bottleneck
Source§impl Debug for Bottleneck
impl Debug for Bottleneck
Source§impl Display for Bottleneck
impl Display for Bottleneck
impl Eq for Bottleneck
Source§impl PartialEq for Bottleneck
impl PartialEq for Bottleneck
impl StructuralPartialEq for Bottleneck
Auto Trait Implementations§
impl Freeze for Bottleneck
impl RefUnwindSafe for Bottleneck
impl Send for Bottleneck
impl Sync for Bottleneck
impl Unpin for Bottleneck
impl UnsafeUnpin for Bottleneck
impl UnwindSafe for Bottleneck
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