ASL
0.1.7
Advanced Simulation Library
|
Go to the documentation of this file.
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;
126 #endif // ACLVECTORELEMENTSDEF_H
The class represents several ElementData.
acl::TypeID getElementType(const VectorOfElements &a, unsigned int i=0)
shared_ptr< VectorOfElementsData > SPVectorOfElementsData
VectorOfElements(unsigned int n)
VectorOfElements operator=(const VectorOfElementsData &a) const
std::shared_ptr< cl::CommandQueue > CommandQueue
VectorOfElementsData(unsigned int n, unsigned int s, T)
The class represents several Element.
std::shared_ptr< MemBlock > ElementData
The OpenCL C++ bindings are defined within this namespace.
VectorOfElementsData(unsigned int n)
bool checkSizesCompatibility(unsigned int n) const
checks whether all Elements have sizes compatible with n
VectorOfElements(const VectorOfElementsData &a)
shared_ptr< VectorOfElements > SPVectorOfElements
bool checkSizesCompatibility(unsigned int n) const
checks whether all Elements have sizes compatible with n
void resizeElements(unsigned int n)
unsigned int getElementsSize(const VectorOfElements &a)
std::shared_ptr< ElementBase > Element
bool compatibleSizes(unsigned int s, const VectorOfElements &a)
VectorOfElementsData(unsigned int n, unsigned int s, T, CommandQueue queue)
VectorOfElements operator=(const VectorOfElements &a) const
Advanced Computational Language.
VectorOfElements operator=(const VectorOfElements &a) const