ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
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
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
Class interface for cl_kernel.
void addElementNamePair(Element element, string name)
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const
std::shared_ptr< ElementBase > Element
virtual string getName() const
vector< pair< Element, string > > elementNamePairs
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
Advanced Computational Language.
void setStatement(string statement_)
virtual string str(const KernelConfiguration &kernelConfig) const