pub struct ParallelizedLoopInfo {
pub loop_id: LoopId,
pub chunk_size: usize,
pub num_chunks: usize,
pub strategy: ParallelStrategy,
pub is_reduction: bool,
}Expand description
Information about a parallelized loop.
Fields§
§loop_id: LoopIdLoop identifier.
chunk_size: usizeChunk size for work distribution.
num_chunks: usizeNumber of chunks.
strategy: ParallelStrategyScheduling strategy used.
is_reduction: boolWhether this is a reduction loop.
Trait Implementations§
Source§impl Clone for ParallelizedLoopInfo
impl Clone for ParallelizedLoopInfo
Source§fn clone(&self) -> ParallelizedLoopInfo
fn clone(&self) -> ParallelizedLoopInfo
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 moreAuto Trait Implementations§
impl Freeze for ParallelizedLoopInfo
impl RefUnwindSafe for ParallelizedLoopInfo
impl Send for ParallelizedLoopInfo
impl Sync for ParallelizedLoopInfo
impl Unpin for ParallelizedLoopInfo
impl UnsafeUnpin for ParallelizedLoopInfo
impl UnwindSafe for ParallelizedLoopInfo
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