pub enum LimitingFactor {
Threads,
Registers,
SharedMemory,
Blocks,
None,
}Expand description
The resource that limits occupancy the most.
Variants§
Threads
Block size limits the number of warps.
Registers
Register pressure limits concurrent warps.
Shared memory exhaustion limits concurrent blocks.
Blocks
Hardware block-per-SM cap is the bottleneck.
None
All resources have headroom (or estimation was trivial).
Trait Implementations§
Source§impl Clone for LimitingFactor
impl Clone for LimitingFactor
Source§fn clone(&self) -> LimitingFactor
fn clone(&self) -> LimitingFactor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LimitingFactor
impl Debug for LimitingFactor
Source§impl Hash for LimitingFactor
impl Hash for LimitingFactor
Source§impl PartialEq for LimitingFactor
impl PartialEq for LimitingFactor
impl Copy for LimitingFactor
impl Eq for LimitingFactor
impl StructuralPartialEq for LimitingFactor
Auto Trait Implementations§
impl Freeze for LimitingFactor
impl RefUnwindSafe for LimitingFactor
impl Send for LimitingFactor
impl Sync for LimitingFactor
impl Unpin for LimitingFactor
impl UnsafeUnpin for LimitingFactor
impl UnwindSafe for LimitingFactor
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