|
ASL
0.1.6
Advanced Simulation Library
|
realizes convert_ functionality
More...
#include <aclElementConvert.h>
Public Member Functions | |
| ElementConvert (Element a, TypeID type, bool strong=true) | |
| virtual string | str (const KernelConfiguration &kernelConfig) const |
| ElementConvert (Element a, TypeID type, bool strong=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. More... | |
| 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. More... | |
| 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 |
realizes convert_ functionality
The element generates code corresponding to convert function with an apropriate vector index.
The strong parameter defines the form of the operator: convert_ in case of true or (type) in case of false
Definition at line 41 of file aclElementConvert.h.
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
1.8.9.1