24 #ifndef ACLOPERATORBINARY_H
25 #define ACLOPERATORBINARY_H
27 #include "../aclElementBase.h"
32 class OperatorBinary:
public ElementBase
40 virtual string getTypeSignature(
const KernelConfiguration & kernelConfig)
const;
43 vector<Element> & localDeclarations)
const;
48 #endif // ACLOPERATORBINARY_H
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
Advanced Computational Language.
virtual string getName() const
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
OperatorBinary(Element a1, Element a2, const string &description="")
std::shared_ptr< ElementBase > Element
Class interface for cl_kernel.
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const