ASL 0.1.7
Advanced Simulation Library
Loading...
Searching...
No Matches
acl::OperatorUnary Class Reference

#include <aclOperatorUnary.h>

Inheritance diagram for acl::OperatorUnary:
Collaboration diagram for acl::OperatorUnary:

Public Member Functions

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 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
Public Member Functions inherited from acl::ElementBase
virtual string str (const KernelConfiguration &kernelConfig=KERNEL_BASIC) const =0
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.
virtual ~ElementBase ()
virtual string str (const KernelConfiguration &kernelConfig=KERNEL_BASIC) const =0
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.
virtual ~ElementBase ()

Protected Member Functions

 OperatorUnary (Element a)
 OperatorUnary (Element a, TypeID type)
 OperatorUnary (Element a)
 OperatorUnary (Element a, TypeID type)
Protected Member Functions inherited from acl::ElementBase
 ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_)
 ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_)

Protected Attributes

Element e
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

Detailed Description

Definition at line 32 of file aclOperatorUnary.h.

Constructor & Destructor Documentation

◆ OperatorUnary() [1/4]

acl::OperatorUnary::OperatorUnary ( Element a)
protected

◆ OperatorUnary() [2/4]

acl::OperatorUnary::OperatorUnary ( Element a,
TypeID type )
protected

◆ OperatorUnary() [3/4]

acl::OperatorUnary::OperatorUnary ( Element a)
protected

◆ OperatorUnary() [4/4]

acl::OperatorUnary::OperatorUnary ( Element a,
TypeID type )
protected

Member Function Documentation

◆ addToKernelSource() [1/2]

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

◆ addToKernelSource() [2/2]

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

◆ getLocalDeclaration() [1/2]

virtual string acl::OperatorUnary::getLocalDeclaration ( const KernelConfiguration & kernelConfig) const
virtual

Implements acl::ElementBase.

◆ getLocalDeclaration() [2/2]

virtual string acl::OperatorUnary::getLocalDeclaration ( const KernelConfiguration & kernelConfig) const
virtual

Implements acl::ElementBase.

◆ getName() [1/2]

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

Implements acl::ElementBase.

◆ getName() [2/2]

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

Implements acl::ElementBase.

◆ getTypeSignature() [1/2]

virtual string acl::OperatorUnary::getTypeSignature ( const KernelConfiguration & kernelConfig) const
virtual

Implements acl::ElementBase.

◆ getTypeSignature() [2/2]

virtual string acl::OperatorUnary::getTypeSignature ( const KernelConfiguration & kernelConfig) const
virtual

Implements acl::ElementBase.

◆ setAsArgument() [1/2]

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

Implements acl::ElementBase.

◆ setAsArgument() [2/2]

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

Implements acl::ElementBase.

Member Data Documentation

◆ e

Element acl::OperatorUnary::e
protected

Definition at line 35 of file aclOperatorUnary.h.


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