27 #include "../aclStdIncludes.h"
28 #include "../aclElementBase.h"
29 #include "../aclUtilities.h"
31 #include "../aclHardware.h"
70 if (m->getTypeID() != typeToTypeID<T>())
73 " for an element with type " +
74 TYPE[m->getTypeID()]);
Advanced Computational Language.
void errorMessage(cl_int status, const char *errorMessage)
Prints errorMessage and exits depending on the status.
std::shared_ptr< MemBlock > ElementData
virtual void swapBuffers(MemBlock &a)
void swapBuffers(std::shared_ptr< Array< T > >a, std::shared_ptr< Array< T > > b)
shared_ptr< cl::Buffer > buffer
const std::vector< std::string > TYPE
std::shared_ptr< T > map(ElementData m)
Class interface for Buffer Memory Objects.
virtual cl::Buffer & getBuffer()