pub struct OccupancyPoint {
pub block_size: u32,
pub occupancy: f64,
pub active_warps: u32,
pub limiting_factor: LimitingFactor,
}Expand description
A single data point from a block-size sweep.
Fields§
§block_size: u32Block size (threads per block) for this point.
occupancy: f64Occupancy ratio (0.0 .. 1.0).
active_warps: u32Active warps per SM.
limiting_factor: LimitingFactorLimiting resource at this block size.
Trait Implementations§
Source§impl Clone for OccupancyPoint
impl Clone for OccupancyPoint
Source§fn clone(&self) -> OccupancyPoint
fn clone(&self) -> OccupancyPoint
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 OccupancyPoint
impl Debug for OccupancyPoint
impl Copy for OccupancyPoint
Auto Trait Implementations§
impl Freeze for OccupancyPoint
impl RefUnwindSafe for OccupancyPoint
impl Send for OccupancyPoint
impl Sync for OccupancyPoint
impl Unpin for OccupancyPoint
impl UnsafeUnpin for OccupancyPoint
impl UnwindSafe for OccupancyPoint
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