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

#include <aclElementSelect.h>

Inheritance diagram for acl::ElementSelect:
Collaboration diagram for acl::ElementSelect:

Public Member Functions

 ElementSelect (Element a1, Element a2, Element a3)
virtual string str (const KernelConfiguration &kernelConfig) const
 ElementSelect (Element a1, Element a2, Element a3)
virtual string str (const KernelConfiguration &kernelConfig) const
Public Member Functions inherited from acl::OperatorTernary
 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
 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 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::ElementBase
 ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_)
 ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_)
Protected Attributes inherited from acl::OperatorTernary
Element e1
Element e2
Element e3
Protected Attributes inherited from acl::ElementBase
unsigned int size
TypeID typeID
CommandQueue queue

Detailed Description

The class is realization of the select operation For a scalar type, result = c ? b : a

Definition at line 33 of file aclElementSelect.h.

Constructor & Destructor Documentation

◆ ElementSelect() [1/2]

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

◆ ElementSelect() [2/2]

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

Member Function Documentation

◆ str() [1/2]

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

Implements acl::ElementBase.

◆ str() [2/2]

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

Implements acl::ElementBase.


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