MimIR
MimIR is my Intermediate Representation
Loading...
Searching...
No Matches
tensor.cpp File Reference
Include dependency graph for tensor.cpp:

Go to the source code of this file.

Namespaces

namespace  mim
namespace  mim::plug
namespace  mim::plug::tensor
 The tensor Plugin

Functions

void mim::plug::tensor::reg_phases (Flags2Phases &phases)
Plugin mim_get_plugin ()

Variables

static constexpr PluginArg known_args []

Function Documentation

◆ mim_get_plugin()

Variable Documentation

◆ known_args

PluginArg known_args[]
staticconstexpr
Initial value:
= {
{"reassoc-max=<n>", "Longest matrix chain whose `Catalan(n − 1)` bracketings `tensor.reassoc` enumerates and, failing one that provably wins for every extent, dispatches over at run time (default `4`; below `3` switches the dispatch off)."},
{"reassoc-vec=<n>", "Vector lanes `tensor.reassoc` pads a product's vector loop to, so that a bracketing whose intermediates are too narrow to fill a vector is charged for the lanes it leaves idle (`1` … `1024`, default `8`; `1` counts plain scalar multiplications)."},
}

Definition at line 27 of file tensor.cpp.

Referenced by mim_get_plugin().