VisionCpp
0.0.1
|
the FuseExpr when the expression type is not a terminal node (leafNode). More...
#include <fuse.hpp>
Static Public Member Functions | |
static void | fuse (Expr &expr, const DeviceT &dev) |
the fuse function for executing the given expr. More... | |
the FuseExpr when the expression type is not a terminal node (leafNode).
The FuseExpr struct is used to generate one device kernel for the expression which is not a terminal node (leafNode).
It is used to specialise the fuse function for terminal and non-terminal nodes template parameters:
LC | is the column size of local memory |
LR | is the row size of local memory |
LCT | is the column size of workgroup |
LRT | is the row size of workgroup |
Expr | : the expression tree needed to be executed |
|
inlinestatic |
the fuse function for executing the given expr.
expr | : the expression passed to be executed on the device |
dev | : the selected device for executing the expression return void |
LRT is the workgroup size row and is checked with LR. LR is based on LRIn. LCT is the workgroup size column checked with LC. LC is based on LCIn. The local memory size and the work group size is calculated at compile time.
Definition at line 37 of file fuse.hpp.
Referenced by visioncpp::internal::fuse().