VisionCpp  0.0.1
visioncpp::internal::IfExprExecNeeded< Conds, ParentConds, Category, Expr, DeviceT > Struct Template Reference

IfExprExecNeeded is used to decide: 1) the expression should force its children to launch a separate kernel and execute the code 2) the expression should create a new subexpression tree with the result of its children execution; execute the new sub expression and return the LeafNode as a result. More...

Collaboration diagram for visioncpp::internal::IfExprExecNeeded< Conds, ParentConds, Category, Expr, DeviceT >:

Detailed Description

template<bool Conds, bool ParentConds, size_t Category, typename Expr, typename DeviceT>
struct visioncpp::internal::IfExprExecNeeded< Conds, ParentConds, Category, Expr, DeviceT >

IfExprExecNeeded is used to decide: 1) the expression should force its children to launch a separate kernel and execute the code 2) the expression should create a new subexpression tree with the result of its children execution; execute the new sub expression and return the LeafNode as a result.

template parameters

Template Parameters
Condsthe decision made by Expr for its children stating whether or not the child of Expr to be executed.
ParentCondsthe decision mad by Expr parent stating that whether or not the expr itself needed to be executed.
Categoryrepresenting to what expression Category the Expr besize_ts
Exprthe type of the expression

Definition at line 74 of file executor.hpp.


The documentation for this struct was generated from the following file: