ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
24 #ifndef ACLELEMENTSYNCCOPY_H
25 #define ACLELEMENTSYNCCOPY_H
27 #include "../aclElementBase.h"
33 class ElementSyncCopy:
public ElementBase
40 static unsigned int syncCopyNum;
41 string kernelSourceStr;
51 virtual string getTypeSignature(
const KernelConfiguration & kernelConfig)
const;
54 vector<Element> & localDeclarations)
const;
56 virtual string str(
const KernelConfiguration & kernelConfig)
const;
61 #endif // ACLELEMENTSYNCCOPY_H
virtual void addToKernelSource(vector< Element > &arguments, vector< Element > &localDeclarations) const
ElementSyncCopy(Element source_, Element destination_, Element srcOffset, Element dstOffset, Element length_)
virtual string getTypeSignature(const KernelConfiguration &kernelConfig) const
Class interface for cl_kernel.
virtual string getName() const
virtual void setAsArgument(cl::Kernel &kernel, unsigned int argumentIndex) const
virtual string getLocalDeclaration(const KernelConfiguration &kernelConfig) const
std::shared_ptr< ElementBase > Element
Advanced Computational Language.
virtual string str(const KernelConfiguration &kernelConfig) const