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

static void mim::plug::tensor::reg_phases (Flags2Phases &phases)
 MIM_PLUGIN_ENTRY (tensor)

Variables

static constexpr PluginArg known_args []

Function Documentation

◆ MIM_PLUGIN_ENTRY()

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)."},
{"vec-width=<n>", "Vector lanes the target's registers hold (`1`, `4`, `8` or `16`, default `8`). It caps the block of independent accumulators a vectorized loop body jams into its registers, and `tensor.reassoc` charges each product's vector loop in units of it; `1` means no lane-sized blocking and plain multiplication counts. See `tensor.vec_width`."},
}

Definition at line 25 of file tensor.cpp.

Referenced by MIM_PLUGIN_ENTRY().