pub struct OccupancyEstimate {
pub active_warps_per_sm: u32,
pub max_warps_per_sm: u32,
pub occupancy_ratio: f64,
pub limiting_factor: LimitingFactor,
}Expand description
Result of a CPU-side occupancy estimation for one configuration.
Fields§
§active_warps_per_sm: u32Active warps per SM for this configuration.
max_warps_per_sm: u32Maximum possible warps per SM (hardware limit).
occupancy_ratio: f64Fraction of max warps that are active (0.0 .. 1.0).
limiting_factor: LimitingFactorWhich resource is the tightest bottleneck.
Trait Implementations§
Source§impl Clone for OccupancyEstimate
impl Clone for OccupancyEstimate
Source§fn clone(&self) -> OccupancyEstimate
fn clone(&self) -> OccupancyEstimate
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 OccupancyEstimate
impl Debug for OccupancyEstimate
impl Copy for OccupancyEstimate
Auto Trait Implementations§
impl Freeze for OccupancyEstimate
impl RefUnwindSafe for OccupancyEstimate
impl Send for OccupancyEstimate
impl Sync for OccupancyEstimate
impl Unpin for OccupancyEstimate
impl UnsafeUnpin for OccupancyEstimate
impl UnwindSafe for OccupancyEstimate
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