25 #ifndef VISIONCPP_INCLUDE_FRAMEWORK_EXPR_CONVERTOR_LOCAL_MEM_COUNT_HPP_
26 #define VISIONCPP_INCLUDE_FRAMEWORK_EXPR_CONVERTOR_LOCAL_MEM_COUNT_HPP_
34 template <
size_t N,
size_t Rows,
size_t Cols,
size_t LVL>
37 LeafNode<PlaceHolder<memory_type::Const, N, Cols, Rows, scope::Global>,
39 static constexpr
size_t Count = 0;
45 template <
size_t MemoryType,
size_t N,
size_t Rows,
size_t Cols,
size_t LVL>
48 LeafNode<PlaceHolder<MemoryType, N, Cols, Rows, scope::Constant>, LVL>> {
49 static constexpr
size_t Count = 0;
56 template <
typename RHSExpr,
size_t LVL>
58 static constexpr
size_t Count = 1;
65 template <
typename Expr>
67 static constexpr
size_t Count =
76 template <
typename Expr>
78 static constexpr
size_t Count =
86 template <
typename LHSExpr,
typename RHSExpr,
size_t Cols,
size_t Rows,
87 size_t LeafType,
size_t LVL>
89 Assign<LHSExpr, RHSExpr, Cols, Rows, LeafType, LVL>> {
90 static constexpr
size_t Count =
96 template <
typename LHSExpr,
typename RHSExpr,
size_t Cols,
size_t Rows,
97 size_t OffsetColIn,
size_t OffsetRowIn,
size_t OffsetColOut,
98 size_t OffsetRowOut,
size_t LeafType,
size_t LVL>
101 ParallelCopy<LHSExpr, RHSExpr, Cols, Rows, OffsetColIn, OffsetRowIn,
102 OffsetColOut, OffsetRowOut, LeafType, LVL>> {
103 static constexpr
size_t Count =
static constexpr size_t Unary
static constexpr size_t Binary
The definition is in Assign file.
the definition is in LeafNode.
is used to count the total number of local memory for the subxpression.
The definition is in ParallelCopy file.