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