![]() |
SG++-Doxygen-Documentation
|
#include <OCLClonedBufferMultiPlatform.hpp>
Public Member Functions | |
void | freeBuffer () |
cl_mem * | getBuffer (cl_platform_id platformId, size_t deviceIndex) |
void | initializeBuffer (void *initialValues, size_t sizeofType, size_t elements) |
bool | isInitialized () |
OCLClonedBufferMultiPlatform (std::shared_ptr< OCLManagerMultiPlatform > manager) | |
void | readFromBuffer (void *hostData, size_t *offsets=nullptr, size_t *ranges=nullptr) |
void | writeToBuffer (void *hostData, size_t *offsets=nullptr) |
~OCLClonedBufferMultiPlatform () | |
Public Attributes | |
size_t | elements |
bool | initialized |
std::shared_ptr< OCLManagerMultiPlatform > | manager |
std::map< cl_platform_id, cl_mem * > | platformBufferList |
size_t | sizeofType |
|
explicit |
References elements, initialized, and sizeofType.
sgpp::base::OCLClonedBufferMultiPlatform::~OCLClonedBufferMultiPlatform | ( | ) |
References freeBuffer().
void sgpp::base::OCLClonedBufferMultiPlatform::freeBuffer | ( | ) |
References initialized, manager, and platformBufferList.
Referenced by ~OCLClonedBufferMultiPlatform().
cl_mem * sgpp::base::OCLClonedBufferMultiPlatform::getBuffer | ( | cl_platform_id | platformId, |
size_t | deviceIndex | ||
) |
References platformBufferList.
void sgpp::base::OCLClonedBufferMultiPlatform::initializeBuffer | ( | void * | initialValues, |
size_t | sizeofType, | ||
size_t | elements | ||
) |
References elements, initialized, manager, platformBufferList, and sizeofType.
bool sgpp::base::OCLClonedBufferMultiPlatform::isInitialized | ( | ) |
References initialized.
void sgpp::base::OCLClonedBufferMultiPlatform::readFromBuffer | ( | void * | hostData, |
size_t * | offsets = nullptr , |
||
size_t * | ranges = nullptr |
||
) |
References manager.
void sgpp::base::OCLClonedBufferMultiPlatform::writeToBuffer | ( | void * | hostData, |
size_t * | offsets = nullptr |
||
) |
References manager.
size_t sgpp::base::OCLClonedBufferMultiPlatform::elements |
Referenced by initializeBuffer(), and OCLClonedBufferMultiPlatform().
bool sgpp::base::OCLClonedBufferMultiPlatform::initialized |
Referenced by freeBuffer(), initializeBuffer(), isInitialized(), OCLClonedBufferMultiPlatform(), python.uq.refinement.RefinementStrategy.WeightedL2OptRanking::update(), python.uq.refinement.RefinementStrategy.ExpectationValueOptRanking::update(), python.uq.refinement.RefinementStrategy.VarianceOptRanking::update(), and python.uq.refinement.RefinementStrategy.WeightedL2BFRanking::update().
std::shared_ptr<OCLManagerMultiPlatform> sgpp::base::OCLClonedBufferMultiPlatform::manager |
Referenced by freeBuffer(), initializeBuffer(), readFromBuffer(), and writeToBuffer().
std::map<cl_platform_id, cl_mem*> sgpp::base::OCLClonedBufferMultiPlatform::platformBufferList |
Referenced by freeBuffer(), getBuffer(), and initializeBuffer().
size_t sgpp::base::OCLClonedBufferMultiPlatform::sizeofType |
Referenced by initializeBuffer(), and OCLClonedBufferMultiPlatform().