Kernel

‘kernel’ Dialect

The Kernel dialect contains operations for high-level math kernels.

Kernel ops

kernel.eval_chebyshev (heir::kernel::EvalChebyshevOp)

Evaluates a Chebyshev polynomial.

Syntax:

operation ::= `kernel.eval_chebyshev` $input attr-dict `:` type($input) `->` type($output)

The kernel.eval_chebyshev operation evaluates a Chebyshev polynomial on a given input. The domain is required to be [-1, 1].

Traits: AlwaysSpeculatableImplTrait, Elementwise, Scalarizable, Tensorizable, Vectorizable

Interfaces: ConditionallySpeculatable, IncreasesMulDepthOpInterface, NoMemoryEffect (MemoryEffectOpInterface), ReducesLevelOpInterface

Effects: MemoryEffects::Effect{}

Attributes:

AttributeMLIR TypeDescription
coefficients::mlir::ArrayAttrarray attribute

Operands:

OperandDescription
inputany non-token type

Results:

ResultDescription
outputany non-token type