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;
62 CommandQueue getQueue()
const;
64 virtual string getTypeSignature(
const KernelConfiguration & kernelConfig = KERNEL_BASIC)
const = 0;
65 virtual string getLocalDeclaration(
const KernelConfiguration & kernelConfig = KERNEL_BASIC)
const = 0;
70 virtual void setAsArgument(
cl::Kernel & kernel,
unsigned int argumentIndex)
const = 0;
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