Global array.
More...
#include <aclArray.h>
|
| 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 |
|
| 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 () |
|
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.
|
|
virtual | ~ElementBase () |
|
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.
|
|
virtual | ~ElementBase () |
|
|
static const string | prefix |
|
static unsigned int | id |
|
|
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_) |
|
template<typename T>
class acl::Array< T >
Global array.
- Examples
- testKernel.cc, testKernelMerger.cc, and testOperators.cc.
Definition at line 36 of file aclArray.h.
◆ Array() [1/4]
◆ Array() [2/4]
◆ Array() [3/4]
◆ Array() [4/4]
◆ addToKernelSource() [1/2]
◆ addToKernelSource() [2/2]
template<typename T >
virtual void acl::Array< T >::addToKernelSource |
( |
vector< Element > & |
arguments, |
|
|
vector< Element > & |
localDeclarations |
|
) |
| const |
|
virtual |
◆ getAddressSpaceQualifier() [1/2]
template<typename T >
string acl::Array< T >::getAddressSpaceQualifier |
( |
| ) |
const |
|
virtual |
◆ getAddressSpaceQualifier() [2/2]
template<typename T >
virtual string acl::Array< T >::getAddressSpaceQualifier |
( |
| ) |
const |
|
virtual |
◆ getLocalDeclaration() [1/2]
◆ getLocalDeclaration() [2/2]
◆ getName() [1/2]
◆ getName() [2/2]
◆ getTypeSignature() [1/2]
◆ getTypeSignature() [2/2]
◆ setAsArgument() [1/2]
◆ setAsArgument() [2/2]
template<typename T >
virtual void acl::Array< T >::setAsArgument |
( |
cl::Kernel & |
kernel, |
|
|
unsigned int |
argumentIndex |
|
) |
| const |
|
virtual |
◆ str() [1/2]
◆ str() [2/2]
◆ id
◆ name
◆ prefix
The documentation for this class was generated from the following files:
- /build/asl-jYLvH4/asl-0.1.7/debian/tmp/usr/include/ASL/acl/acl.h
- /build/asl-jYLvH4/asl-0.1.7/debian/tmp/usr/include/ASL/acl/DataTypes/aclArray.h
- /build/asl-jYLvH4/asl-0.1.7/src/acl/DataTypes/aclArray.h