pub enum GpuSubtreeRejectReason {
BelowNodeThreshold,
TextWrapRatioExceeded,
UnsupportedLayoutMode,
ExceedsMaxDepth,
HardwareUnavailable,
ThermalThrottled,
ExplicitCpuBoundary,
}Expand description
Reason why a candidate subtree was kept on CPU instead of promoted to GPU compute layout.
Variants§
BelowNodeThreshold
Subtree node count is below the configured min_gpu_nodes break-even threshold.
TextWrapRatioExceeded
Subtree contains too many wrapping text nodes (wrapping_text_ratio > max_text_wrap_ratio).
UnsupportedLayoutMode
Subtree contains layout or node modes outside the GPU compute kernel contract.
ExceedsMaxDepth
Subtree exceeds the maximum level-synchronous GPU compute depth.
Hardware GPU compute backend is unavailable on the current platform/device.
ThermalThrottled
Device is thermally throttled, requiring immediate GPU offload deferral.
ExplicitCpuBoundary
Subtree carries an explicit LayoutBoundaryHint::ForceCpu or PreferCpu boundary.
Trait Implementations§
Source§impl Clone for GpuSubtreeRejectReason
impl Clone for GpuSubtreeRejectReason
impl Copy for GpuSubtreeRejectReason
Source§impl Debug for GpuSubtreeRejectReason
impl Debug for GpuSubtreeRejectReason
impl Eq for GpuSubtreeRejectReason
Source§impl Hash for GpuSubtreeRejectReason
impl Hash for GpuSubtreeRejectReason
Source§impl Ord for GpuSubtreeRejectReason
impl Ord for GpuSubtreeRejectReason
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for GpuSubtreeRejectReason
impl PartialEq for GpuSubtreeRejectReason
Source§impl PartialOrd for GpuSubtreeRejectReason
impl PartialOrd for GpuSubtreeRejectReason
impl StructuralPartialEq for GpuSubtreeRejectReason
Auto Trait Implementations§
impl Forget for GpuSubtreeRejectReason
impl Freeze for GpuSubtreeRejectReason
impl Move for GpuSubtreeRejectReason
impl RefUnwindSafe for GpuSubtreeRejectReason
impl Send for GpuSubtreeRejectReason
impl Sync for GpuSubtreeRejectReason
impl Unpin for GpuSubtreeRejectReason
impl UnsafeUnpin for GpuSubtreeRejectReason
impl UnwindSafe for GpuSubtreeRejectReason
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