ASL
0.1.7
Advanced Simulation Library
|
#include <aclSubvector.h>
Public Member Functions | |
Subvector (shared_ptr< Array< T > > vector_, unsigned int size_, unsigned int offset_) | |
virtual cl::Buffer & | getBuffer () |
virtual string | str (const KernelConfiguration &kernelConfig) const |
virtual string | getName () const |
virtual string | getTypeSignature (const KernelConfiguration &kernelConfig) const |
virtual string | getLocalDeclaration (const KernelConfiguration &kernelConfig) const |
virtual void | addToKernelSource (std::vector< Element > &arguments, std::vector< Element > &localDeclarations) const |
virtual void | setAsArgument (cl::Kernel &kernel, unsigned int argumentIndex) const |
![]() | |
shared_ptr< void > | map () |
![]() | |
virtual string | getAddressSpaceQualifier () const |
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 () |
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_) | |
![]() | |
shared_ptr< cl::Buffer > | buffer |
weak_ptr< void > | region |
![]() | |
unsigned int | size |
TypeID | typeID |
CommandQueue | queue |
Definition at line 39 of file aclSubvector.h.
acl::Subvector< T >::Subvector | ( | shared_ptr< Array< T > > | vector_, |
unsigned int | size_, | ||
unsigned int | offset_ | ||
) |
Definition at line 66 of file aclSubvector.h.
|
virtual |
Definition at line 130 of file aclSubvector.h.
|
virtual |
if original buffer is moved within GPU memory
Reimplemented from acl::MemBlock.
Definition at line 90 of file aclSubvector.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 122 of file aclSubvector.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 104 of file aclSubvector.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 116 of file aclSubvector.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 137 of file aclSubvector.h.
|
virtual |
Implements acl::ElementBase.
Definition at line 110 of file aclSubvector.h.