![]() |
TISP User Guide
|
Provides the supernode style when input data is transferred in 2D form and output is transferred out in 2D form.
Definition at line 138 of file TISP_superNode.hpp.
Inherits TISP::SuperNode::superNode.
Public Member Functions | |
| i2d_to_o2d (std::unique_ptr< opVec > &&_myOpVec, dTypeIn *_pIn, dTypeOut *_pOut, dTypeIn *_pInBlock, dTypeOut *_pOutBlock, size_t _width, size_t _height, size_t _blockWidth, size_t _blockHeight, size_t _inPitch, size_t _outPitch, size_t _numChannels) | |
| Supernode constructor to create a 2D input to 2D output DMA supernode. More... | |
| void | exec () |
| [supernode example] More... | |
Public Member Functions inherited from TISP::SuperNode::superNode | |
| void | execDefault (std::unique_ptr< opVec > &myOpVec) |
| This function executes a given supernode. It contains the boiler plate template for block-based DMA and compute flow. The function calls the execute::graph function which in turn executes the correct compute flow. For data movement, appropriate APIs are called around the execute::graph function. Typical execute case of most superNodes variants (derived classes) More... | |
| virtual | ~superNode () |
Private Attributes | |
| std::unique_ptr< opVec > | myOpVec |
| DmaUtilsAutoInc3d_TransferDim | transferDimIn |
| DmaUtilsAutoInc3d_TransferDim | transferDimOut |
| dTypeIn * | pIn |
| dTypeIn * | pInBlock |
| dTypeOut * | pOut |
| dTypeOut * | pOutBlock |
Additional Inherited Members | |
Static Public Member Functions inherited from TISP::SuperNode::superNode | |
| static Udma_DrvHandle | setUdmaDrvHandle (Udma_DrvObjectInt &udmaDrvObj) |
Protected Member Functions inherited from TISP::SuperNode::superNode | |
| superNode (size_t _numChannels, size_t _numInChannels, size_t _numOutChannels) | |
| Supernode constructor that is called to create the supernode with appropriate parameters. Typically, used by classes derived from the superNode as part of their constructor c. More... | |
Protected Attributes inherited from TISP::SuperNode::superNode | |
| int32_t | chIdIn [TISP_MAX_DMA_CHANNEL_SUPER_NODE] |
| int32_t | chIdOut [TISP_MAX_DMA_CHANNEL_SUPER_NODE] |
| uint8_t * | dmaUtilsContext |
| uint8_t * | pTrMemCh [TISP_MAX_DMA_CHANNEL_SUPER_NODE] |
| i2d_to_o2d::i2d_to_o2d | ( | std::unique_ptr< opVec > && | _myOpVec, |
| dTypeIn * | _pIn, | ||
| dTypeOut * | _pOut, | ||
| dTypeIn * | _pInBlock, | ||
| dTypeOut * | _pOutBlock, | ||
| size_t | _width, | ||
| size_t | _height, | ||
| size_t | _blockWidth, | ||
| size_t | _blockHeight, | ||
| size_t | _inPitch, | ||
| size_t | _outPitch, | ||
| size_t | _numChannels | ||
| ) |
Supernode constructor to create a 2D input to 2D output DMA supernode.
[supernode example]
| [in] | &_myOpVec | : Operator vector with list of nodes to be executed inside the supernode |
| [in] | *_pIn | : Input pointer in DDR space |
| [out] | *_pOut | : Output pointer in DDR space |
| [in] | *_pInBlock | : Input pointer in L2 space |
| [out] | *_pOutBlock | : Output pointer in L2 space |
| [in] | _width | : Width of 2D block in DDR |
| [in] | _height | : height of 2D block in DDR |
| [in] | _blockWidth | : Width of 2D block in L2 |
| [in] | _blockHeight | : Height of 2D block in L2 |
| [in] | _inPitch | : Input pitch in DDR |
| [in] | _outPitch | : Output pitch in DDR |
| [in] | _numChannels | : Total number of DMA channels to be used by the supernode (always 2) |
Definition at line 14 of file TISP_i2d_to_o2d.cpp.
|
virtual |
[supernode example]
Implements TISP::SuperNode::superNode.
Definition at line 59 of file TISP_i2d_to_o2d.cpp.
|
private |
Definition at line 141 of file TISP_superNode.hpp.
|
private |
Structure to hold transfer properties of input DMA channel
Definition at line 142 of file TISP_superNode.hpp.
|
private |
Structure to hold transfer properties of output DMA channel
Definition at line 143 of file TISP_superNode.hpp.
|
private |
Definition at line 145 of file TISP_superNode.hpp.
|
private |
Definition at line 146 of file TISP_superNode.hpp.
|
private |
Definition at line 147 of file TISP_superNode.hpp.
|
private |
Definition at line 148 of file TISP_superNode.hpp.