ASL 0.1.7
Advanced Simulation Library
|
For loop. More...
#include <aclElementFor.h>
Public Member Functions | |
ElementFor (Element initialization_, Element condition_, Element increase_) | |
void | addBodyExpression (Element expression_) |
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 | str (const KernelConfiguration &kernelConfig) const |
![]() | |
virtual string | str (const KernelConfiguration &kernelConfig=KERNEL_BASIC) const =0 |
virtual string | getName () const =0 |
virtual string | getAddressSpaceQualifier () const |
unsigned int | getSize () const |
CommandQueue | getQueue () const |
TypeID | getTypeID () const |
virtual string | getTypeSignature (const KernelConfiguration &kernelConfig=KERNEL_BASIC) const =0 |
virtual string | getLocalDeclaration (const KernelConfiguration &kernelConfig=KERNEL_BASIC) const =0 |
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 void | setAsArgument (cl::Kernel &kernel, unsigned int argumentIndex) const =0 |
virtual | ~ElementBase () |
Protected Attributes | |
vector< Element > | expression |
Element | initialization |
Element | condition |
Element | increase |
![]() | |
unsigned int | size |
TypeID | typeID |
CommandQueue | queue |
Additional Inherited Members | |
![]() | |
const bool | isWritable |
![]() | |
ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_) | |
For loop.
Definition at line 34 of file aclElementFor.h.
void acl::ElementFor::addBodyExpression | ( | Element | expression_ | ) |
|
virtual |
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
|
protected |
Definition at line 39 of file aclElementFor.h.
|
protected |
Definition at line 37 of file aclElementFor.h.
|
protected |
Definition at line 40 of file aclElementFor.h.
|
protected |
Definition at line 38 of file aclElementFor.h.