![]() |
SG++-Doxygen-Documentation
|
#include <OCLClonedBuffer.hpp>
Public Member Functions | |
| void | freeBuffer () |
| cl_mem * | getBuffer (size_t deviceNumber) |
| void | initializeBuffer (void *initialValues, size_t sizeofType, size_t elements) |
| bool | isInitialized () |
| OCLClonedBuffer (std::shared_ptr< OCLManager > manager) | |
| void | readFromBuffer (void *hostData, size_t *offsets=nullptr, size_t *ranges=nullptr) |
| void | writeToBuffer (void *hostData, size_t *offsets=nullptr) |
| ~OCLClonedBuffer () | |
Public Attributes | |
| cl_mem * | bufferList |
| size_t | elements |
| bool | initialized |
| std::shared_ptr< OCLManager > | manager |
| size_t | sizeofType |
|
explicit |
References bufferList, elements, initialized, and sizeofType.
| sgpp::base::OCLClonedBuffer::~OCLClonedBuffer | ( | ) |
References freeBuffer().
| void sgpp::base::OCLClonedBuffer::freeBuffer | ( | ) |
| cl_mem * sgpp::base::OCLClonedBuffer::getBuffer | ( | size_t | deviceNumber | ) |
| void sgpp::base::OCLClonedBuffer::initializeBuffer | ( | void * | initialValues, |
| size_t | sizeofType, | ||
| size_t | elements | ||
| ) |
References bufferList, elements, python.statsfileInfo::i, initialized, manager, and sizeofType.
Referenced by sgpp::datadriven::StreamingBSplineOCLKernelImpl< T >::multTranspose().
| bool sgpp::base::OCLClonedBuffer::isInitialized | ( | ) |
References initialized.
Referenced by sgpp::datadriven::StreamingBSplineOCLKernelImpl< T >::multTranspose().
| void sgpp::base::OCLClonedBuffer::readFromBuffer | ( | void * | hostData, |
| size_t * | offsets = nullptr, |
||
| size_t * | ranges = nullptr |
||
| ) |
References python.statsfileInfo::i, and manager.
| void sgpp::base::OCLClonedBuffer::writeToBuffer | ( | void * | hostData, |
| size_t * | offsets = nullptr |
||
| ) |
References python.statsfileInfo::i, and manager.
| cl_mem* sgpp::base::OCLClonedBuffer::bufferList |
Referenced by freeBuffer(), getBuffer(), initializeBuffer(), and OCLClonedBuffer().
| size_t sgpp::base::OCLClonedBuffer::elements |
Referenced by initializeBuffer(), and OCLClonedBuffer().
| bool sgpp::base::OCLClonedBuffer::initialized |
Referenced by freeBuffer(), initializeBuffer(), isInitialized(), OCLClonedBuffer(), 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<OCLManager> sgpp::base::OCLClonedBuffer::manager |
Referenced by freeBuffer(), initializeBuffer(), readFromBuffer(), and writeToBuffer().
| size_t sgpp::base::OCLClonedBuffer::sizeofType |
Referenced by initializeBuffer(), and OCLClonedBuffer().