StaticExprMVNode
StaticExprMVNode
Section titled “StaticExprMVNode”#include <staticmvnode.hh>template<int NViews, int NScalars, int NInstrs, typename ArrT = float, typename ScalarT = float, class MemTag = DevTag, class Layout = NCOffsetsPolicy>struct StaticExprMVNodeDefined in src/lib/ncarray/expression/staticmvnode.hh:98
Inherits:
ExpressionTag,ExprOpInterface
List of all members
Section titled “List of all members”| Name | Kind | Owner |
|---|---|---|
layouts |
variable |
Declared here |
data |
variable |
Declared here |
scalars |
variable |
Declared here |
ops |
variable |
Declared here |
op_map |
variable |
Declared here |
StaticExprMVNode |
function |
Declared here |
StaticExprMVNode |
function |
Declared here |
eval |
function |
Declared here |
dtype |
function |
Declared here |
NOperands |
variable |
Declared here |
NOps |
variable |
Declared here |
final_shape |
variable |
Inherited from ExprOpInterface |
final_size |
variable |
Inherited from ExprOpInterface |
ndim |
function |
Inherited from ExprOpInterface |
shape |
function |
Inherited from ExprOpInterface |
size |
function |
Inherited from ExprOpInterface |
md_to_lin |
function |
Inherited from ExprOpInterface |
apply_op |
function |
Inherited from ExprOpInterface |
| Kind | Name | Description |
|---|---|---|
variable |
final_shape |
The result shape. |
variable |
final_size |
The result number of elements. |
function |
ndim const inline |
|
function |
shape const inline |
|
function |
size const inline |
|
function |
md_to_lin const inline |
|
function |
apply_op const inline |
Public Attributes
Section titled “Public Attributes”| Return | Name | Description |
|---|---|---|
Layout |
layouts |
|
const void * |
data |
|
ScalarT |
scalars |
|
OpCode |
ops |
|
short |
op_map |
layouts
Section titled “layouts”Layout layoutsDefined in src/lib/ncarray/expression/staticmvnode.hh:102
const void * dataDefined in src/lib/ncarray/expression/staticmvnode.hh:103
scalars
Section titled “scalars”ScalarT scalarsDefined in src/lib/ncarray/expression/staticmvnode.hh:104
OpCode opsDefined in src/lib/ncarray/expression/staticmvnode.hh:105
op_map
Section titled “op_map”short op_mapDefined in src/lib/ncarray/expression/staticmvnode.hh:106
Public Methods
Section titled “Public Methods”| Return | Name | Description |
|---|---|---|
StaticExprMVNode |
Defaulted constructor. | |
StaticExprMVNode inline |
||
NCA_HD DestT |
eval const inline |
|
NCA_HDDType |
dtype const inline |
StaticExprMVNode
Section titled “StaticExprMVNode”StaticExprMVNode() = defaultDefined in src/lib/ncarray/expression/staticmvnode.hh:108
Defaulted constructor.
StaticExprMVNode
Section titled “StaticExprMVNode”inline
inline StaticExprMVNode(const ExprMVNode< MemTag > & node)Defined in src/lib/ncarray/expression/staticmvnode.hh:111
const inline
template<typename DestT, typename Coords> inline NCA_HD DestT eval(const Coords & coords) constDefined in src/lib/ncarray/expression/staticmvnode.hh:159
const inline
inline NCA_HDDType dtype() constDefined in src/lib/ncarray/expression/staticmvnode.hh:199
Public Static Attributes
Section titled “Public Static Attributes”| Return | Name | Description |
|---|---|---|
constexpr int |
NOperands static constexpr |
|
constexpr int |
NOps static constexpr |
NOperands
Section titled “NOperands”static constexpr
constexpr int NOperands = NViews + NScalarsDefined in src/lib/ncarray/expression/staticmvnode.hh:99
static constexpr
constexpr int NOps = NInstrs -Defined in src/lib/ncarray/expression/staticmvnode.hh:100