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

#include <aclOperatorTernary.h>

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

Public Member Functions

 OperatorTernary (Element a1, Element a2, Element a3)
 
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. More...
 
virtual ~ElementBase ()
 

Protected Attributes

Element e1
 
Element e2
 
Element e3
 
- 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 32 of file aclOperatorTernary.h.

Constructor & Destructor Documentation

◆ OperatorTernary()

acl::OperatorTernary::OperatorTernary ( Element  a1,
Element  a2,
Element  a3 
)

Member Function Documentation

◆ addToKernelSource()

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

◆ getLocalDeclaration()

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

Implements acl::ElementBase.

◆ getName()

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

Implements acl::ElementBase.

◆ getTypeSignature()

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

Implements acl::ElementBase.

◆ setAsArgument()

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

Implements acl::ElementBase.

Member Data Documentation

◆ e1

Element acl::OperatorTernary::e1
protected

Definition at line 35 of file aclOperatorTernary.h.

◆ e2

Element acl::OperatorTernary::e2
protected

Definition at line 36 of file aclOperatorTernary.h.

◆ e3

Element acl::OperatorTernary::e3
protected

Definition at line 37 of file aclOperatorTernary.h.


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