24#ifndef ACLVECTORELEMENTSDEF_H
25#define ACLVECTORELEMENTSDEF_H
29#include "../aclTypes.h"
44 typedef std::shared_ptr<ElementBase>
Element;
47 class VectorOfElements;
60 bool checkCompatibility()
const;
95 bool checkCompatibility()
const;
The class represents several ElementData.
VectorOfElementsData(unsigned int n)
void resizeElements(unsigned int n)
VectorOfElementsData(unsigned int n, unsigned int s, T, CommandQueue queue)
bool checkSizesCompatibility(unsigned int n) const
checks whether all Elements have sizes compatible with n
VectorOfElementsData(unsigned int n, unsigned int s, T)
VectorOfElements operator=(const VectorOfElementsData &a) const
VectorOfElements operator=(const VectorOfElements &a) const
The class represents several Element.
VectorOfElements(unsigned int n)
acl::TypeID getElementType(const VectorOfElements &a, unsigned int i=0)
VectorOfElements operator=(const VectorOfElements &a) const
VectorOfElements(const VectorOfElementsData &a)
bool checkSizesCompatibility(unsigned int n) const
checks whether all Elements have sizes compatible with n
unsigned int getElementsSize(const VectorOfElements &a)
Advanced Computational Language.
shared_ptr< VectorOfElementsData > SPVectorOfElementsData
std::shared_ptr< cl::CommandQueue > CommandQueue
bool compatibleSizes(unsigned int s, const VectorOfElements &a)
std::shared_ptr< MemBlock > ElementData
shared_ptr< VectorOfElements > SPVectorOfElements
std::shared_ptr< ElementBase > Element
The OpenCL C++ bindings are defined within this namespace.