38 std::string
str()
const;
49 virtual std::string
name()
override;
Note: Even though the class references unique_ptr, it will never delete an SDFG it has a reference to...
Definition structured_sdfg_builder.h:44
virtual bool run_pass(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
virtual std::string name() override
ContractionPrecisionPass(const ContractionPrecision &precision)
Definition function_builder.h:10
Definition kernel_builder.h:18
Rescaling
How QuantizeContraction applies the scales of A's rows and B's columns to the Int32 products.
Definition quantize_contraction.h:15
@ Exponents
Through the scales' power-of-two exponents in one step, so that no intermediate overflows where the r...
Definition quantize_contraction.h:18
OzakiVariant
How the Ozaki scheme represents the operands in Int8.
Definition ozaki_contraction.h:17
@ Modular
Ozaki-II: scale the operands to integers, multiply their residues modulo coprime moduli and reconstru...
Definition ozaki_contraction.h:22
How contractions (MatMul and GEMM nodes) of Float and Double compute, as users select it.
Definition contraction_precision.h:24
int parameter
Bits for Quantize, slices or moduli for Ozaki; 0 picks the default.
Definition contraction_precision.h:30
OzakiVariant variant
Definition contraction_precision.h:28
Rescaling rescaling
How the transformations apply the scales; not part of the spec, but chosen by the target,...
Definition contraction_precision.h:33
Kind
Definition contraction_precision.h:25
@ Native
Definition contraction_precision.h:25
@ Quantize
Definition contraction_precision.h:25
@ Ozaki
Definition contraction_precision.h:25
static ContractionPrecision parse(const std::string &spec)
Kind kind
Definition contraction_precision.h:27