24 #ifndef ACLELEMENTIFELSE_H 25 #define ACLELEMENTIFELSE_H 27 #include "../aclElementBase.h" 48 vector<Element> & localDeclarations)
const;
55 #endif // ACLELEMENTIFELSE_H virtual string getName() const
If-Else conditional structure.
Advanced Computational Language.
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
vector< Element > expressionIf
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const
virtual string str(const KernelConfiguration &kernelConfig) const
void addBodyExpressionElse(Element expression_)
void addBodyExpressionIf(Element expression_)
vector< Element > expressionElse
ACL Kernel configuration class.
std::shared_ptr< ElementBase > Element
Class interface for cl_kernel.
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
ElementIfElse(Element condition_)
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const