SG++-Doxygen-Documentation
sgpp::base::OCLStretchedBufferMultiPlatform Class Reference

#include <OCLStretchedBufferMultiPlatform.hpp>

Public Member Functions

void combineBuffer (std::map< cl_platform_id, size_t * > indexStart, std::map< cl_platform_id, size_t * > indexEnd, cl_platform_id platformId)
 
void copyToOtherHostBuffers (cl_platform_id originPlatformId)
 
void freeBuffer ()
 
cl_mem * getBuffer (cl_platform_id platformId, size_t deviceNumber)
 
void * getMappedHostBuffer (cl_platform_id platformId)
 
void initializeBuffer (size_t sizeofType, size_t elements)
 
bool isInitialized ()
 
 OCLStretchedBufferMultiPlatform (std::shared_ptr< OCLManagerMultiPlatform > manager)
 
void readFromBuffer (std::map< cl_platform_id, size_t * > indexStart, std::map< cl_platform_id, size_t * > indexEnd)
 
void writeToBuffer ()
 
 ~OCLStretchedBufferMultiPlatform ()
 

Constructor & Destructor Documentation

sgpp::base::OCLStretchedBufferMultiPlatform::OCLStretchedBufferMultiPlatform ( std::shared_ptr< OCLManagerMultiPlatform manager)
sgpp::base::OCLStretchedBufferMultiPlatform::~OCLStretchedBufferMultiPlatform ( )

References freeBuffer().

Member Function Documentation

void sgpp::base::OCLStretchedBufferMultiPlatform::combineBuffer ( std::map< cl_platform_id, size_t * >  indexStart,
std::map< cl_platform_id, size_t * >  indexEnd,
cl_platform_id  platformId 
)
void sgpp::base::OCLStretchedBufferMultiPlatform::copyToOtherHostBuffers ( cl_platform_id  originPlatformId)
cl_mem * sgpp::base::OCLStretchedBufferMultiPlatform::getBuffer ( cl_platform_id  platformId,
size_t  deviceNumber 
)
void * sgpp::base::OCLStretchedBufferMultiPlatform::getMappedHostBuffer ( cl_platform_id  platformId)
void sgpp::base::OCLStretchedBufferMultiPlatform::initializeBuffer ( size_t  sizeofType,
size_t  elements 
)
bool sgpp::base::OCLStretchedBufferMultiPlatform::isInitialized ( )
void sgpp::base::OCLStretchedBufferMultiPlatform::readFromBuffer ( std::map< cl_platform_id, size_t * >  indexStart,
std::map< cl_platform_id, size_t * >  indexEnd 
)

The documentation for this class was generated from the following files: