Skip to content

TransformOps

'dataflow' Dialect TransformOps

transform.dataflow.convert_tiled_linalg_to_kernel (transform::DataflowConvertTiledLinalgToKernelOp)

Syntax:

operation ::= `transform.dataflow.convert_tiled_linalg_to_kernel` $tiled_linalg_op (`parallel` $parallel_loops^)?
              (`reduction` $reduction_loops^)? attr-dict `:`
              functional-type(operands, results)

Traits: AttrSizedOperandSegments

Interfaces: MemoryEffectOpInterface, TransformOpInterface

Attributes:

AttributeMLIR TypeDescription
input_vec_shapes::mlir::ArrayAttrArray of 64-bit integer array attributes
output_vec_shapes::mlir::ArrayAttrArray of 64-bit integer array attributes
kernel_name::mlir::StringAttrstring attribute

Operands:

Operand Description
tiled_linalg_op TransformHandleTypeInterface instance
parallel_loops variadic of TransformHandleTypeInterface instance
reduction_loops variadic of TransformHandleTypeInterface instance

Results:

Result Description
kernel TransformHandleTypeInterface instance
converted_linalg_op TransformHandleTypeInterface instance

transform.dataflow.fuse_kernels (transform::DataflowFuseKernelsOp)

Syntax:

operation ::= `transform.dataflow.fuse_kernels` $kernels attr-dict `:` functional-type(operands, results)

Interfaces: MemoryEffectOpInterface, TransformOpInterface

Attributes:

AttributeMLIR TypeDescription
kernel_name::mlir::StringAttrstring attribute

Operands:

Operand Description
kernels variadic of TransformHandleTypeInterface instance

Results:

Result Description
fused_kernel TransformHandleTypeInterface instance