|
ASL 0.1.7
Advanced Simulation Library
|
#include <aclMemBlock.h>


Public Member Functions | |
| virtual cl::Buffer & | getBuffer () |
| shared_ptr< void > | map () |
| virtual cl::Buffer & | getBuffer () |
| shared_ptr< void > | map () |
| Public Member Functions inherited from acl::ElementBase | |
| 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. | |
| virtual void | setAsArgument (cl::Kernel &kernel, unsigned int argumentIndex) const =0 |
| virtual | ~ElementBase () |
| 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. | |
| virtual void | setAsArgument (cl::Kernel &kernel, unsigned int argumentIndex) const =0 |
| virtual | ~ElementBase () |
Protected Member Functions | |
| 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_) | |
Protected Attributes | |
| shared_ptr< cl::Buffer > | buffer |
| weak_ptr< void > | region |
| Protected Attributes inherited from acl::ElementBase | |
| unsigned int | size |
| TypeID | typeID |
| CommandQueue | queue |
Friends | |
| void | swapBuffers (MemBlock &a, MemBlock &b) |
| void | swapBuffers (MemBlock &a, MemBlock &b) |
Additional Inherited Members | |
| Public Attributes inherited from acl::ElementBase | |
| const bool | isWritable |
Definition at line 39 of file aclMemBlock.h.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented in acl::Subvector< T >, and acl::Subvector< T >.
|
virtual |
Reimplemented in acl::Subvector< T >, and acl::Subvector< T >.
| shared_ptr< void > acl::MemBlock::map | ( | ) |
| shared_ptr< void > acl::MemBlock::map | ( | ) |
|
protectedvirtual |
|
protectedvirtual |
Definition at line 62 of file aclMemBlock.h.
Definition at line 62 of file aclMemBlock.h.
|
protected |
Definition at line 42 of file aclMemBlock.h.
|
protected |
Definition at line 43 of file aclMemBlock.h.