ASL
0.1.7
Advanced Simulation Library
|
Global array. More...
#include <acl.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 |
![]() | |
virtual cl::Buffer & | getBuffer () |
shared_ptr< void > | map () |
![]() | |
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 |
![]() | |
shared_ptr< cl::Buffer > | buffer |
weak_ptr< void > | region |
![]() | |
unsigned int | size |
TypeID | typeID |
CommandQueue | queue |
Static Protected Attributes | |
static const string | prefix |
static unsigned int | id |
Additional Inherited Members | |
![]() | |
const bool | isWritable |
![]() | |
MemBlock () | |
MemBlock (unsigned int size, TypeID typeID, CommandQueue queue_) | |
MemBlock (unsigned int size, TypeID typeID, char *initArray, CommandQueue queue_) | |
virtual void | swapBuffers (MemBlock &a) |
![]() | |
ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_) | |
Global array.
|
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.
|
virtual |
Definition at line 119 of file aclArray.h.
|
virtual |
Reimplemented from acl::ElementBase.
Definition at line 105 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 111 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 80 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 99 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 125 of file aclArray.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 86 of file aclArray.h.
|
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.