pub struct ExecutionLayout {
pub cpu_lanes: usize,
pub threads_per_lane: usize,
pub gpu_tracks: usize,
}Expand description
Lanes and GPU tracks a sweep runs on.
A CPU model has no GPU tracks, and a GPU model has no lanes.
Fields§
§cpu_lanes: usizeNumber of runs stepped at once on the CPU, each in its own lane.
threads_per_lane: usizeNumber of worker threads in each lane.
gpu_tracks: usizeNumber of GPU runs alive at once.
Implementations§
Source§impl ExecutionLayout
impl ExecutionLayout
Sourcepub fn projected_bytes(&self, probe: &ProbeReport) -> u64
pub fn projected_bytes(&self, probe: &ProbeReport) -> u64
Returns the projected size in bytes of all live runs together, each as large as the probed run.
A CPU run counts its host bytes, and a GPU run its device bytes.
Trait Implementations§
Source§impl Clone for ExecutionLayout
impl Clone for ExecutionLayout
impl Copy for ExecutionLayout
Source§impl Debug for ExecutionLayout
impl Debug for ExecutionLayout
impl Eq for ExecutionLayout
Source§impl PartialEq for ExecutionLayout
impl PartialEq for ExecutionLayout
impl StructuralPartialEq for ExecutionLayout
Auto Trait Implementations§
impl Freeze for ExecutionLayout
impl RefUnwindSafe for ExecutionLayout
impl Send for ExecutionLayout
impl Sync for ExecutionLayout
impl Unpin for ExecutionLayout
impl UnsafeUnpin for ExecutionLayout
impl UnwindSafe for ExecutionLayout
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
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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more