Skip to main content

validate_simd_variant

Function validate_simd_variant 

Source
pub fn validate_simd_variant(
    scalar: &dyn PolydatNode,
) -> Result<ValidatedSimdVariant, SimdVariantError>
Expand description

Validate an instantiated scalar node and its declared register node.

Tier 1 currently accepts uniform element-wise operations: all scalar wire inputs and the sole output have one type, and the vector variant has the same arity under that type’s register shape. Broadcast-vs-varying input roles are a property of the eventual cone plan, not the node variant.