pub enum GpuComputeBackendKind {
MetalHardware,
CpuReferenceParity,
}Expand description
Execution backend that ran a GpuComputeLayoutEngine dispatch.
Variants§
MetalHardware
Physical Apple Metal MTLComputeCommandEncoder + drawPrimitives:indirectBuffer:.
CpuReferenceParity
Bit-exact CPU reference compute parity engine for headless or non-Metal targets.
Trait Implementations§
Source§impl Clone for GpuComputeBackendKind
impl Clone for GpuComputeBackendKind
impl Copy for GpuComputeBackendKind
Source§impl Debug for GpuComputeBackendKind
impl Debug for GpuComputeBackendKind
Source§impl Default for GpuComputeBackendKind
impl Default for GpuComputeBackendKind
Source§impl<'de> Deserialize<'de> for GpuComputeBackendKind
impl<'de> Deserialize<'de> for GpuComputeBackendKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for GpuComputeBackendKind
Source§impl Hash for GpuComputeBackendKind
impl Hash for GpuComputeBackendKind
Source§impl Ord for GpuComputeBackendKind
impl Ord for GpuComputeBackendKind
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 GpuComputeBackendKind
impl PartialEq for GpuComputeBackendKind
Source§impl PartialOrd for GpuComputeBackendKind
impl PartialOrd for GpuComputeBackendKind
Source§impl Serialize for GpuComputeBackendKind
impl Serialize for GpuComputeBackendKind
impl StructuralPartialEq for GpuComputeBackendKind
Auto Trait Implementations§
impl Forget for GpuComputeBackendKind
impl Freeze for GpuComputeBackendKind
impl Move for GpuComputeBackendKind
impl RefUnwindSafe for GpuComputeBackendKind
impl Send for GpuComputeBackendKind
impl Sync for GpuComputeBackendKind
impl Unpin for GpuComputeBackendKind
impl UnsafeUnpin for GpuComputeBackendKind
impl UnwindSafe for GpuComputeBackendKind
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