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_sep.hpp>
Static Public Member Functions | |
static void | sub_execute (RHS &rhs, SepFilterCol &spFltrCol, SepFilterRow &spFltrRow, 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 express 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 recursively 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 |
SepFilterRow | is the separable filter for row |
SepFilterCol | is the separable filter for col |
PyramidMem | is a tuple of pyramid output memory |
Definition at line 72 of file pyramid_with_auto_mem_sep.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 |
spFltrRow | is the separable filter node for Row |
spFltrCol | is the separable filter node for Col |
mem | is the tuple of pyramid output memory |
dev | : the selected device for executing the expression |
Definition at line 83 of file pyramid_with_auto_mem_sep.hpp.