pub struct AutoComputeProfile {
pub modeled: Option<ModeledComputeProfile>,
pub measured: Option<MeasuredComputeProfile>,
pub expected: Option<ComputeDeviceIdentity>,
pub now_tick: u64,
}Expand description
Automatic executor profile.
Fields§
§modeled: Option<ModeledComputeProfile>Optional legacy modeled profile. When absent, auto uses CPU unless measured evidence below proves a compatible device route.
measured: Option<MeasuredComputeProfile>Optional measured profile used by the conservative router.
expected: Option<ComputeDeviceIdentity>Expected adapter/driver/backend identity for measured routing.
now_tick: u64Current logical tick used for staleness checks.
Trait Implementations§
Source§impl Clone for AutoComputeProfile
impl Clone for AutoComputeProfile
Source§fn clone(&self) -> AutoComputeProfile
fn clone(&self) -> AutoComputeProfile
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 moreSource§impl Debug for AutoComputeProfile
impl Debug for AutoComputeProfile
Source§impl Default for AutoComputeProfile
impl Default for AutoComputeProfile
Source§fn default() -> AutoComputeProfile
fn default() -> AutoComputeProfile
Returns the “default value” for a type. Read more
impl Eq for AutoComputeProfile
Source§impl PartialEq for AutoComputeProfile
impl PartialEq for AutoComputeProfile
impl StructuralPartialEq for AutoComputeProfile
Auto Trait Implementations§
impl Freeze for AutoComputeProfile
impl RefUnwindSafe for AutoComputeProfile
impl Send for AutoComputeProfile
impl Sync for AutoComputeProfile
impl Unpin for AutoComputeProfile
impl UnsafeUnpin for AutoComputeProfile
impl UnwindSafe for AutoComputeProfile
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