24#ifndef ACLLOCALARRAY_H
25#define ACLLOCALARRAY_H
45 static const string prefix;
46 static unsigned int id;
55 vector<Element> & localDeclarations)
const;
76 return name +
"[" +
INDEX +
"]";
107 vector<Element> & localDeclarations)
const
ACL Kernel configuration class.
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
virtual string getAddressSpaceQualifier() const
LocalArray(unsigned int size_)
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
virtual string getName() const
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const
virtual string str(const KernelConfiguration &kernelConfig) const
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
Class interface for cl_kernel.
SPDataWrapperACLData generateDataContainerACL_SP(const Block &b, unsigned int n=1)
generates pointer to ACL Data field with n components
std::string numToStr(T i)
Converts numbers or another type to string.
Advanced Computational Language.
constexpr const TypeID typeToTypeID()
unsigned int paddingElements(unsigned int size, const KernelConfiguration &kernelConfig)
Adds padding in elements based on vector width.
Advanced Simulation Library.