24 #ifndef ACLPRIVATEVARIABLE_H
25 #define ACLPRIVATEVARIABLE_H
27 #include "../aclElementBase.h"
28 #include "../../aslUtilities.h"
29 #include "../aclUtilities.h"
42 static const string prefix;
43 static unsigned int id;
52 vector<Element> & localDeclarations)
const;
90 return typeToStr<T>(kernelConfig.
vectorWidth) +
" " + name;
95 vector<Element> & localDeclarations)
const
102 unsigned int argumentIndex)
const
ACL Kernel configuration class.
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
virtual string str(const KernelConfiguration &kernelConfig) const
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
can't be set as an argument
virtual string getName() const
virtual string getAddressSpaceQualifier() const
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const
Class interface for cl_kernel.
std::string numToStr(T i)
Converts numbers or another type to string.
Advanced Computational Language.
constexpr const TypeID typeToTypeID()