VisionCpp
0.0.1
|
here we execute the pyramid; automatically construct the output tuple based on the depth of the pyramid; and construct the kernels. More...
#include <pyramid_with_auto_mem_gen.hpp>
Static Public Member Functions | |
static void | sub_execute (RHS &rhs, Fltr2D &fltr2D, PyramidMem &mem, const DeviceT &dev) |
function sub_execute More... | |
here we execute the pyramid; automatically construct the output tuple based on the depth of the pyramid; and construct the kernels.
template parameters:
SatisfyingConds | a boolean variable is used to determine the end of the recursive creation of the pyramid kernel at compile time. |
Fltr2DOP | general Filter2D functor |
DownSmplOP | downsampling function for pyramid |
Cols | determines the column size of the input pyramid |
Rows | determines the row size of the input pyramid |
LeafType | determines the type of the leafNode {Buffer2D, Buffer1D, Host, Image} |
LVL | the current level of the node based on the previous creation of the kernel. This level expresses the a new level for RHS. This level is an artificial level. In each step we consider an expression needed to be executed by a kernel as a subexpression of a big expression tree. The LVL here represent the level of the root of each subexpression inside that big artificial expression. |
LC | is the column size of local memory required by Filter2D and DownSmplOP |
LR | is the row size of local memory required by Filter2D and DownSmplOP |
LCT | is the column size of workgroup |
LRT | is the row size of workgroup |
Depth | represents the depth of down sampling |
CurrentDepth | represents the number of kernel created so far by recursive calling of PyramidExecuteGen struct. |
LHS | is the final output of the pyramid combining all the node together |
RHS | is the intermediate input passed for the current kernel to be executed as a leafNode |
Fltr2D | is the filter2d node |
PyramidMem | is a tuple of pyramid output memory |
Definition at line 70 of file pyramid_with_auto_mem_gen.hpp.
|
inlinestatic |
function sub_execute
is the function used to construct a subexpression tree corresponding to the CurrentDepth of the pyramid and launch the kernel
rhs | is the intermediate input passed for the current kernel to be executed as a leafNode |
fltr2D | is the filter2d node |
mem | is the tuple of pyramid output memory |
dev | : the selected device for executing the expression |
Definition at line 80 of file pyramid_with_auto_mem_gen.hpp.