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;
63 bool checkSizesCompatibility(
unsigned int n)
const;
82 void resizeElements(
unsigned int n);
95 bool checkCompatibility()
const;
98 bool checkSizesCompatibility(
unsigned int n)
const;
126 #endif // ACLVECTORELEMENTSDEF_H
The class represents several ElementData.
shared_ptr< VectorOfElementsData > SPVectorOfElementsData
std::shared_ptr< cl::CommandQueue > CommandQueue
The class represents several Element.
std::shared_ptr< MemBlock > ElementData
The OpenCL C++ bindings are defined within this namespace.
shared_ptr< VectorOfElements > SPVectorOfElements
bool checkSizesCompatibility(unsigned int n) const
checks whether all Elements have sizes compatible with n
std::shared_ptr< ElementBase > Element
bool compatibleSizes(unsigned int s, const VectorOfElements &a)
Advanced Computational Language.