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

#include <aclElementGenericUnary.h>

Inheritance diagram for acl::ElementGenericUnary:
Collaboration diagram for acl::ElementGenericUnary:

Public Member Functions

 ElementGenericUnary (Element a, const string &operation_, bool outside=true)
virtual string str (const KernelConfiguration &kernelConfig) const
 ElementGenericUnary (Element a, const string &operation_, bool outside=true)
virtual string str (const KernelConfiguration &kernelConfig) const
Public Member Functions inherited from acl::OperatorUnary
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 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 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 ()

Additional Inherited Members

Public Attributes inherited from acl::ElementBase
const bool isWritable
Protected Member Functions inherited from acl::OperatorUnary
 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 inherited from acl::OperatorUnary
Element e
Protected Attributes inherited from acl::ElementBase
unsigned int size
TypeID typeID
CommandQueue queue

Detailed Description

Definition at line 31 of file aclElementGenericUnary.h.

Constructor & Destructor Documentation

◆ ElementGenericUnary() [1/2]

acl::ElementGenericUnary::ElementGenericUnary ( Element a,
const string & operation_,
bool outside = true )

◆ ElementGenericUnary() [2/2]

acl::ElementGenericUnary::ElementGenericUnary ( Element a,
const string & operation_,
bool outside = true )

Member Function Documentation

◆ str() [1/2]

virtual string acl::ElementGenericUnary::str ( const KernelConfiguration & kernelConfig) const
virtual

Implements acl::ElementBase.

◆ str() [2/2]

virtual string acl::ElementGenericUnary::str ( const KernelConfiguration & kernelConfig) const
virtual

Implements acl::ElementBase.


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