pub enum CpuFallbackReason {
NoExecutor,
ProviderCpuChoice,
UnsupportedDtype,
UnsupportedOperations,
BelowCrossover,
MultipleOutputTiles,
}Expand description
A reason the Tensor provider was declined before any submission.
Variants§
NoExecutor
No Tensor executor is active in the current environment.
ProviderCpuChoice
An automatic executor selected its CPU route before submission.
UnsupportedDtype
The configured provider profile does not admit canonical f32.
UnsupportedOperations
The executor card omits at least one operation required by the lowering.
BelowCrossover
The admitted work is below the configured provider crossover.
MultipleOutputTiles
The provider limits would require host assembly of multiple output tiles.
Trait Implementations§
Source§impl Clone for CpuFallbackReason
impl Clone for CpuFallbackReason
Source§fn clone(&self) -> CpuFallbackReason
fn clone(&self) -> CpuFallbackReason
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 CpuFallbackReason
impl Debug for CpuFallbackReason
impl Eq for CpuFallbackReason
Source§impl PartialEq for CpuFallbackReason
impl PartialEq for CpuFallbackReason
impl StructuralPartialEq for CpuFallbackReason
Auto Trait Implementations§
impl Freeze for CpuFallbackReason
impl RefUnwindSafe for CpuFallbackReason
impl Send for CpuFallbackReason
impl Sync for CpuFallbackReason
impl Unpin for CpuFallbackReason
impl UnsafeUnpin for CpuFallbackReason
impl UnwindSafe for CpuFallbackReason
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