Skip to content

'iree_vector_ext' Dialectlink

IREE Vector Extensions.

A dialect designed for experimenting with vector operations beyond what is currently available in the Vector Dialect.

Operationslink

iree_vector_ext.layout_conflict_resolution (VectorExt::LayoutConflictResolutionOp)link

Layout Conflict Resolution operator

Syntax:

operation ::= `iree_vector_ext.layout_conflict_resolution` $input attr-dict `:` type($input) `->` type($output)

The layout conflict resolution operator takes a vector and a desired layout and transforms the vector to one with the desired layout.

Attributes:link
AttributeMLIR TypeDescription
sourceLayout::mlir::iree_compiler::IREE::VectorExt::VectorLayoutInterfaceVectorLayoutInterface instance
desiredLayout::mlir::iree_compiler::IREE::VectorExt::VectorLayoutInterfaceVectorLayoutInterface instance
Operands:link
Operand Description
input vector of any type values
Results:link
Result Description
output vector of any type values

iree_vector_ext.to_simd (VectorExt::ToSIMDOp)link

SIMT to SIMD conversion operation

Syntax:

operation ::= `iree_vector_ext.to_simd` $input attr-dict `:` type($input) `->` type($output)

This operation is a temporary operation useful for source/target materializations when doing type conversions between distributed and not distributed vectors.

Traits: AlwaysSpeculatableImplTrait, SameOperandsAndResultElementType

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:link
Operand Description
input vector of any type values
Results:link
Result Description
output vector of any type values

iree_vector_ext.to_simt (VectorExt::ToSIMTOp)link

SIMD to SIMT conversion operation

Syntax:

operation ::= `iree_vector_ext.to_simt` $input attr-dict `:` type($input) `->` type($output)

This operation is a temporary operation useful for source/target materializations when doing type conversions between distributed and not distributed vectors.

Traits: AlwaysSpeculatableImplTrait, SameOperandsAndResultElementType

Interfaces: ConditionallySpeculatable, NoMemoryEffect (MemoryEffectOpInterface)

Effects: MemoryEffects::Effect{}

Operands:link
Operand Description
input vector of any type values
Results:link
Result Description
output vector of any type values