ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
24 #ifndef ACLOPERATORGENERIC_H
25 #define ACLOPERATORGENERIC_H
27 #include "../aclElementBase.h"
32 class OperatorGeneric:
public ElementBase
38 virtual string str(
const KernelConfiguration & kernelConfig =
KERNEL_BASIC)
const;
40 virtual string getTypeSignature(
const KernelConfiguration & kernelConfig)
const;
43 vector<Element> & localDeclarations)
const;
48 #endif // ACLOPERATORGENERIC_H
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
Class interface for cl_kernel.
virtual string getName() const
OperatorGeneric(const string &operatorStr_)
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const
const KernelConfiguration KERNEL_BASIC
Advanced Computational Language.
virtual string str(const KernelConfiguration &kernelConfig=KERNEL_BASIC) const