pub struct FusionGroup {
pub id: usize,
pub members: Vec<NodeId>,
pub config: KernelConfig,
pub tag: String,
}Expand description
A group of nodes that can be merged into a single fused kernel.
The nodes are listed in topological execution order. The fused kernel will be generated by the PTX codegen layer.
Fields§
§id: usizeGroup identifier (sequential, 0-based).
members: Vec<NodeId>Original node IDs in topological order (oldest first).
config: KernelConfigCombined launch configuration (uses the first member’s config).
tag: StringHuman-readable tag for debugging.
Implementations§
Source§impl FusionGroup
impl FusionGroup
Trait Implementations§
Source§impl Clone for FusionGroup
impl Clone for FusionGroup
Source§fn clone(&self) -> FusionGroup
fn clone(&self) -> FusionGroup
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 FusionGroup
impl Debug for FusionGroup
Source§impl PartialEq for FusionGroup
impl PartialEq for FusionGroup
Source§fn eq(&self, other: &FusionGroup) -> bool
fn eq(&self, other: &FusionGroup) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FusionGroup
impl StructuralPartialEq for FusionGroup
Auto Trait Implementations§
impl Freeze for FusionGroup
impl RefUnwindSafe for FusionGroup
impl Send for FusionGroup
impl Sync for FusionGroup
impl Unpin for FusionGroup
impl UnsafeUnpin for FusionGroup
impl UnwindSafe for FusionGroup
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