24 #ifndef ACLELEMENTPARSER_H
25 #define ACLELEMENTPARSER_H
27 #include "../aclElementBase.h"
37 class ElementParser:
public ElementBase
47 virtual string getTypeSignature(
const KernelConfiguration & kernelConfig)
const;
50 vector<Element> & localDeclarations)
const;
52 virtual string str(
const KernelConfiguration & kernelConfig)
const;
57 #endif // ACLELEMENTPARSER_H
Advanced Computational Language.
void setStatement(string statement_)
vector< pair< Element, string > > elementNamePairs
virtual string getName() const
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
virtual string str(const KernelConfiguration &kernelConfig) const
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const
std::shared_ptr< ElementBase > Element
Class interface for cl_kernel.
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
void addElementNamePair(Element element, string name)