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