ASL  0.1.7
Advanced Simulation Library
Public Member Functions | Protected Attributes | List of all members
acl::ElementSyncCopy Class Reference

#include <aclElementSyncCopy.h>

Inheritance diagram for acl::ElementSyncCopy:
Inheritance graph
[legend]
Collaboration diagram for acl::ElementSyncCopy:
Collaboration graph
[legend]

Public Member Functions

 ElementSyncCopy (Element source_, Element destination_, Element srcOffset, Element dstOffset, Element length_)
 
virtual string getName () const
 
virtual string getTypeSignature (const KernelConfiguration &kernelConfig) const
 
virtual string getLocalDeclaration (const KernelConfiguration &kernelConfig) const
 
virtual void addToKernelSource (vector< Element > &arguments, vector< Element > &localDeclarations) const
 
virtual void setAsArgument (cl::Kernel &kernel, unsigned int argumentIndex) const
 
virtual string str (const KernelConfiguration &kernelConfig) const
 
- Public Member Functions inherited from acl::ElementBase
virtual string getAddressSpaceQualifier () const
 
unsigned int getSize () const
 
CommandQueue getQueue () const
 
TypeID getTypeID () const
 
virtual void addToKernelSource (vector< shared_ptr< ElementBase > > &arguments, vector< shared_ptr< ElementBase > > &localDeclarations) const =0
 Adds ElementBase to the kernel source either as an argument or as a local declaration. More...
 
virtual ~ElementBase ()
 

Protected Attributes

Element source
 
Element destination
 
- Protected Attributes inherited from acl::ElementBase
unsigned int size
 
TypeID typeID
 
CommandQueue queue
 

Additional Inherited Members

- Public Attributes inherited from acl::ElementBase
const bool isWritable
 
- Protected Member Functions inherited from acl::ElementBase
 ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_)
 

Detailed Description

Definition at line 33 of file aclElementSyncCopy.h.

Constructor & Destructor Documentation

◆ ElementSyncCopy()

acl::ElementSyncCopy::ElementSyncCopy ( Element  source_,
Element  destination_,
Element  srcOffset,
Element  dstOffset,
Element  length_ 
)

Member Function Documentation

◆ addToKernelSource()

virtual void acl::ElementSyncCopy::addToKernelSource ( vector< Element > &  arguments,
vector< Element > &  localDeclarations 
) const
virtual

◆ getLocalDeclaration()

virtual string acl::ElementSyncCopy::getLocalDeclaration ( const KernelConfiguration kernelConfig) const
virtual

Implements acl::ElementBase.

◆ getName()

virtual string acl::ElementSyncCopy::getName ( ) const
virtual

Implements acl::ElementBase.

◆ getTypeSignature()

virtual string acl::ElementSyncCopy::getTypeSignature ( const KernelConfiguration kernelConfig) const
virtual

Implements acl::ElementBase.

◆ setAsArgument()

virtual void acl::ElementSyncCopy::setAsArgument ( cl::Kernel kernel,
unsigned int  argumentIndex 
) const
virtual

Implements acl::ElementBase.

◆ str()

virtual string acl::ElementSyncCopy::str ( const KernelConfiguration kernelConfig) const
virtual

Implements acl::ElementBase.

Member Data Documentation

◆ destination

Element acl::ElementSyncCopy::destination
protected

Definition at line 37 of file aclElementSyncCopy.h.

◆ source

Element acl::ElementSyncCopy::source
protected

Definition at line 36 of file aclElementSyncCopy.h.


The documentation for this class was generated from the following file: