|
ASL
0.1.7
Advanced Simulation Library
|
Global array. More...
#include <aclArray.h>


Public Member Functions | |
| Array (unsigned int size, CommandQueue queue_=hardware.defaultQueue) | |
| Array (unsigned int size, T *initArray, CommandQueue queue_=hardware.defaultQueue) | |
| virtual string | str (const KernelConfiguration &kernelConfig) const |
| virtual string | getName () const |
| virtual string | getAddressSpaceQualifier () 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 |
| Array (unsigned int size, CommandQueue queue_=hardware.defaultQueue) | |
| Array (unsigned int size, T *initArray, CommandQueue queue_=hardware.defaultQueue) | |
| virtual string | str (const KernelConfiguration &kernelConfig) const |
| virtual string | getName () const |
| virtual string | getAddressSpaceQualifier () 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::MemBlock | |
| virtual cl::Buffer & | getBuffer () |
| shared_ptr< void > | map () |
| virtual cl::Buffer & | getBuffer () |
| shared_ptr< void > | map () |
Public Member Functions inherited from acl::ElementBase | |
| 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 () |
| 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 | |
| string | name |
Protected Attributes inherited from acl::MemBlock | |
| shared_ptr< cl::Buffer > | buffer |
| weak_ptr< void > | region |
Protected Attributes inherited from acl::ElementBase | |
| unsigned int | size |
| TypeID | typeID |
| CommandQueue | queue |
Static Protected Attributes | |
| static const string | prefix |
| static unsigned int | id |
Additional Inherited Members | |
Public Attributes inherited from acl::ElementBase | |
| const bool | isWritable |
Protected Member Functions inherited from acl::MemBlock | |
| MemBlock () | |
| MemBlock (unsigned int size, TypeID typeID, CommandQueue queue_) | |
| MemBlock (unsigned int size, TypeID typeID, char *initArray, CommandQueue queue_) | |
| virtual void | swapBuffers (MemBlock &a) |
| MemBlock () | |
| MemBlock (unsigned int size, TypeID typeID, CommandQueue queue_) | |
| MemBlock (unsigned int size, TypeID typeID, char *initArray, CommandQueue queue_) | |
| virtual void | swapBuffers (MemBlock &a) |
Protected Member Functions inherited from acl::ElementBase | |
| ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_) | |
| ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_) | |
|
explicit |
Definition at line 63 of file aclArray.h.
| acl::Array< T >::Array | ( | unsigned int | size, |
| T * | initArray, | ||
| CommandQueue | queue_ = hardware.defaultQueue |
||
| ) |
Definition at line 71 of file aclArray.h.
|
explicit |
| acl::Array< T >::Array | ( | unsigned int | size, |
| T * | initArray, | ||
| CommandQueue | queue_ = hardware.defaultQueue |
||
| ) |
|
virtual |
Definition at line 119 of file aclArray.h.
|
virtual |
|
virtual |
Reimplemented from acl::ElementBase.
Definition at line 105 of file aclArray.h.
|
virtual |
Reimplemented from acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
Definition at line 111 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
Definition at line 80 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
Definition at line 99 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
Definition at line 125 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
|
virtual |
Implements acl::ElementBase.
Definition at line 86 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
|
staticprotected |
Definition at line 41 of file aclArray.h.
|
protected |
Definition at line 39 of file aclArray.h.
|
staticprotected |
Definition at line 40 of file aclArray.h.