ASL
0.1.7
Advanced Simulation Library
|
#include <aclMemBlock.h>
Public Member Functions | |
virtual cl::Buffer & | getBuffer () |
shared_ptr< void > | map () |
![]() | |
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 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) |
![]() | |
ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_) | |
Protected Attributes | |
shared_ptr< cl::Buffer > | buffer |
weak_ptr< void > | region |
![]() | |
unsigned int | size |
TypeID | typeID |
CommandQueue | queue |
Friends | |
void | swapBuffers (MemBlock &a, MemBlock &b) |
Additional Inherited Members | |
![]() | |
const bool | isWritable |
Definition at line 39 of file aclMemBlock.h.
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented in acl::Subvector< T >.
shared_ptr<void> acl::MemBlock::map | ( | ) |
|
protectedvirtual |
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.