pub struct OccupancyMaxPotentialBlockSize {
pub min_grid_size: i32,
pub block_size: i32,
}Expand description
A block size selected to maximize potential occupancy and the minimum grid size needed to achieve it.
Fields§
§min_grid_size: i32Minimum number of blocks in the grid needed to achieve the calculated maximum occupancy.
block_size: i32Number of threads per block selected by the occupancy calculator.
Trait Implementations§
impl Copy for OccupancyMaxPotentialBlockSize
impl Eq for OccupancyMaxPotentialBlockSize
impl StructuralPartialEq for OccupancyMaxPotentialBlockSize
Auto Trait Implementations§
impl Forget for OccupancyMaxPotentialBlockSize
impl Freeze for OccupancyMaxPotentialBlockSize
impl Move for OccupancyMaxPotentialBlockSize
impl RefUnwindSafe for OccupancyMaxPotentialBlockSize
impl Send for OccupancyMaxPotentialBlockSize
impl Sync for OccupancyMaxPotentialBlockSize
impl Unpin for OccupancyMaxPotentialBlockSize
impl UnsafeUnpin for OccupancyMaxPotentialBlockSize
impl UnwindSafe for OccupancyMaxPotentialBlockSize
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.