24 #ifndef ACLELEMENTEXCERPT_H 25 #define ACLELEMENTEXCERPT_H 27 #include "../aclElementBase.h" 37 class ElementExcerpt:
public ElementBase
45 virtual string getTypeSignature(
const KernelConfiguration & kernelConfig)
const;
48 vector<Element> & localDeclarations)
const;
50 virtual string str(
const KernelConfiguration & kernelConfig)
const;
55 #endif // ACLELEMENTEXCERPT_H Advanced Computational Language.
virtual string getName() const
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
virtual string str(const KernelConfiguration &kernelConfig) const
ElementExcerpt(Element source_, Element filter_)
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
std::shared_ptr< ElementBase > Element
Class interface for cl_kernel.
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const