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
Advanced Computational Language.
std::string numToStr(T i)
Converts numbers or another type to string.
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
virtual string getName() const
ACL Kernel configuration class.
virtual string getAddressSpaceQualifier() const
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
constexpr const TypeID typeToTypeID()
Class interface for cl_kernel.
virtual string str(const KernelConfiguration &kernelConfig) const
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
can't be set as an argument