SMAUG
Simulating Machine Learning Applications on gem5-Aladdin
|
1 #ifndef _OPERATORS_SMV_SMV_INNER_PRODUCT_TILING_H_
2 #define _OPERATORS_SMV_SMV_INNER_PRODUCT_TILING_H_
4 #include "smaug/core/backend.h"
5 #include "smaug/core/tensor.h"
6 #include "smaug/operators/smv/smv_tiling_common.h"
7 #include "smaug/operators/smv/smv_tiling_base.h"
11 class SmvInnerProductOp;
Tensor represents a single multi-dimensional array of data.
static TilingConfig computeBasicTileShapes(SmvInnerProductOp *op)
Determine the best basic tiling shape for this fc layer without bias.
static std::array< TilingDims, 3 > determineBestTilingDims(Tensor *inputs, Tensor *weights, Tensor *outputs, int maxTileSize)
Determine the best tiling dimensions for running inner product on SMV.
A TilingConfig describes tiling strategies and optimal tile sizes for inputs, weights,...
The smaug namespace is the parent namespace of all C++ code in SMAUG.
Tiling optimizer for SMV inner product kernel.
Inner product operator on SMV.