SG++
sgpp::base::OCLStretchedBuffer Class Reference

#include <OCLStretchedBuffer.hpp>

Public Member Functions

void freeBuffer ()
 
cl_mem * getBuffer (size_t deviceNumber)
 
void * getMappedHostBuffer ()
 
void initializeBuffer (size_t sizeofType, size_t elements)
 
bool isInitialized ()
 
 OCLStretchedBuffer (std::shared_ptr< OCLManager > manager)
 
void readFromBuffer (size_t *indexStart, size_t *indexEnd)
 
void writeToBuffer ()
 
 ~OCLStretchedBuffer ()
 

Constructor & Destructor Documentation

sgpp::base::OCLStretchedBuffer::OCLStretchedBuffer ( std::shared_ptr< OCLManager manager)
explicit
sgpp::base::OCLStretchedBuffer::~OCLStretchedBuffer ( )

References freeBuffer().

Member Function Documentation

void sgpp::base::OCLStretchedBuffer::freeBuffer ( )
cl_mem * sgpp::base::OCLStretchedBuffer::getBuffer ( size_t  deviceNumber)
void * sgpp::base::OCLStretchedBuffer::getMappedHostBuffer ( )
void sgpp::base::OCLStretchedBuffer::initializeBuffer ( size_t  sizeofType,
size_t  elements 
)
bool sgpp::base::OCLStretchedBuffer::isInitialized ( )
void sgpp::base::OCLStretchedBuffer::readFromBuffer ( size_t *  indexStart,
size_t *  indexEnd 
)
void sgpp::base::OCLStretchedBuffer::writeToBuffer ( )

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