#include <aclSubvector.h>
|
| 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 |
|
| 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 () |
|
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 () |
|
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 () |
|
|
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) |
|
| 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_) |
|
| ElementBase (bool isWritable_, unsigned int size_, TypeID typeID_) |
|
shared_ptr< cl::Buffer > | buffer |
|
weak_ptr< void > | region |
|
unsigned int | size |
|
TypeID | typeID |
|
CommandQueue | queue |
|
template<typename T>
class acl::Subvector< T >
- Examples
- testKernel.cc.
Definition at line 39 of file aclSubvector.h.
◆ Subvector() [1/2]
◆ Subvector() [2/2]
◆ addToKernelSource() [1/2]
◆ addToKernelSource() [2/2]
template<typename T >
virtual void acl::Subvector< T >::addToKernelSource |
( |
std::vector< Element > & |
arguments, |
|
|
std::vector< Element > & |
localDeclarations |
|
) |
| const |
|
virtual |
◆ getBuffer() [1/2]
◆ getBuffer() [2/2]
if original buffer is moved within GPU memory
if original buffer is moved within GPU memory
Reimplemented from acl::MemBlock.
Definition at line 90 of file aclSubvector.h.
◆ getLocalDeclaration() [1/2]
◆ getLocalDeclaration() [2/2]
◆ getName() [1/2]
◆ getName() [2/2]
◆ getTypeSignature() [1/2]
◆ getTypeSignature() [2/2]
◆ setAsArgument() [1/2]
◆ setAsArgument() [2/2]
◆ str() [1/2]
◆ str() [2/2]
The documentation for this class was generated from the following file:
- /build/asl-t3w2Wd/asl-0.1.7/debian/tmp/usr/include/ASL/acl/DataTypes/aclSubvector.h