pub struct KernelDescriptor {
pub id: KernelId,
pub implements: Vec<NodeTypeRef>,
pub implementation_id: ImplementationId,
pub conversion: Option<LayoutConversion>,
pub target: Target,
pub input_layouts: Vec<Layout>,
pub output_layouts: Vec<Layout>,
pub resources: ResourceEnvelope,
pub determinism: Determinism,
pub lowering: String,
}Fields§
§id: KernelId§implements: Vec<NodeTypeRef>Exact semantic chain implemented by this kernel. A chain longer than one is an explicit fused implementation, never an optimizer guess.
implementation_id: ImplementationIdContent identity of implementation code/build inputs. It must change whenever executable behavior changes, even if the local KernelId does not.
conversion: Option<LayoutConversion>A physical layout conversion implemented by this kernel. Conversion
kernels have an empty implements chain and execute as explicit plan
steps with no semantic-node identity.
target: Target§input_layouts: Vec<Layout>§output_layouts: Vec<Layout>§resources: ResourceEnvelope§determinism: Determinism§lowering: StringTrait Implementations§
Source§impl Clone for KernelDescriptor
impl Clone for KernelDescriptor
Source§fn clone(&self) -> KernelDescriptor
fn clone(&self) -> KernelDescriptor
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 KernelDescriptor
impl Debug for KernelDescriptor
Source§impl<'de> Deserialize<'de> for KernelDescriptor
impl<'de> Deserialize<'de> for KernelDescriptor
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 KernelDescriptor
Source§impl PartialEq for KernelDescriptor
impl PartialEq for KernelDescriptor
Source§impl Serialize for KernelDescriptor
impl Serialize for KernelDescriptor
impl StructuralPartialEq for KernelDescriptor
Auto Trait Implementations§
impl Freeze for KernelDescriptor
impl RefUnwindSafe for KernelDescriptor
impl Send for KernelDescriptor
impl Sync for KernelDescriptor
impl Unpin for KernelDescriptor
impl UnsafeUnpin for KernelDescriptor
impl UnwindSafe for KernelDescriptor
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