SG++
sgpp::base::OCLBufferWrapperSD< T > Class Template Reference

#include <OCLBufferWrapperSD.hpp>

Public Member Functions

void freeBuffer ()
 
cl_mem * getBuffer ()
 
std::vector< T > & getHostPointer ()
 
void initializeBuffer (size_t elements)
 
void intializeTo (std::vector< T > &hostBuffer, size_t dim, size_t offsetStart, size_t offsetEnd, bool storeStructOfArrays=false)
 
bool isInitialized ()
 
 OCLBufferWrapperSD (std::shared_ptr< base::OCLDevice > device)
 
void readFromBuffer ()
 
size_t size ()
 
void writeToBuffer ()
 
 ~OCLBufferWrapperSD ()
 

Constructor & Destructor Documentation

template<typename T>
sgpp::base::OCLBufferWrapperSD< T >::OCLBufferWrapperSD ( std::shared_ptr< base::OCLDevice device)
inlineexplicit
template<typename T>
sgpp::base::OCLBufferWrapperSD< T >::~OCLBufferWrapperSD ( )
inline

Member Function Documentation

template<typename T>
void sgpp::base::OCLBufferWrapperSD< T >::intializeTo ( std::vector< T > &  hostBuffer,
size_t  dim,
size_t  offsetStart,
size_t  offsetEnd,
bool  storeStructOfArrays = false 
)
inline

Referenced by sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMultTranspose< T >::getBuildDuration(), sgpp::datadriven::StreamingModOCLMaskMultiPlatform::KernelMult< T >::getBuildDuration(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMultTranspose< T >::getBuildDuration(), sgpp::datadriven::StreamingOCLMultiPlatform::KernelMult< T >::getBuildDuration(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::initialize_alpha_buffer(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::initialize_dataset(), sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::KernelCreateGraph(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::KernelDensityB(), sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::KernelDensityMult(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::KernelPruneGraph(), sgpp::datadriven::StreamingModOCLOpt::KernelMult< T >::mult(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMult< T >::mult(), sgpp::datadriven::StreamingModOCLUnified::KernelMult< T >::mult(), sgpp::datadriven::StreamingModOCLUnified::KernelMultTranspose< T >::multTranspose(), sgpp::datadriven::StreamingModOCLOpt::KernelMultTranspose< T >::multTranspose(), sgpp::datadriven::StreamingModOCLFastMultiPlatform::KernelMultTranspose< T >::multTranspose(), sgpp::datadriven::DensityOCLMultiPlatform::KernelPruneGraph< T >::prune_graph(), and sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::start_rhs_generation().

template<typename T>
size_t sgpp::base::OCLBufferWrapperSD< T >::size ( )
inline
template<typename T>
void sgpp::base::OCLBufferWrapperSD< T >::writeToBuffer ( )
inline

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