24 #ifndef ACLELEMENTBASE_H 25 #define ACLELEMENTBASE_H 44 extern const std::string
INDEX;
59 virtual string getName()
const = 0;
60 virtual string getAddressSpaceQualifier()
const;
61 unsigned int getSize()
const;
67 virtual void addToKernelSource(vector<shared_ptr<ElementBase> > & arguments,
68 vector<shared_ptr<ElementBase> > & localDeclarations)
const = 0;
70 virtual void setAsArgument(
cl::Kernel & kernel,
unsigned int argumentIndex)
const = 0;
74 typedef std::shared_ptr<ElementBase>
Element;
77 #endif // ACLELEMENTBASE_H Advanced Computational Language.
The OpenCL C++ bindings are defined within this namespace.
std::shared_ptr< cl::CommandQueue > CommandQueue
ACL Kernel configuration class.
std::shared_ptr< ElementBase > Element
Class interface for cl_kernel.
const KernelConfiguration KERNEL_BASIC