SG++-Doxygen-Documentation
|
Class for the OpenCL density matrix vector multiplication. More...
#include <KernelMult.hpp>
Public Member Functions | |
double | finish_mult (std::vector< T > &result, int startid, int chunksize) |
void | initialize_alpha_buffer (std::vector< T > &alpha) |
KernelDensityMult (std::shared_ptr< base::OCLDevice > dev, size_t dims, std::shared_ptr< base::OCLManagerMultiPlatform > manager, json::Node &kernelConfiguration, std::vector< int > &points, T lambda) | |
void | start_mult (size_t startid, size_t chunksize) |
Executes part of one matrix-vector density multiplication from startid to startid + chunksize. More... | |
~KernelDensityMult () | |
Static Public Member Functions | |
static void | augmentDefaultParameters (sgpp::base::OCLOperationConfiguration ¶meters) |
Adds all possible building parameters to the configuration if they do not exist yet. More... | |
Class for the OpenCL density matrix vector multiplication.
|
inline |
|
inline |
|
inlinestatic |
Adds all possible building parameters to the configuration if they do not exist yet.
References json::Node::addDictAttr(), json::Node::addIDAttr(), json::Node::addTextAttr(), and json::Node::contains().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationDensity::load_default_parameters().
|
inline |
References sgpp::base::OCLBufferWrapperSD< T >::getHostPointer(), python.statsfileInfo::i, and sgpp::base::OCLBufferWrapperSD< T >::readFromBuffer().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >::finish_partial_mult(), and sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >::mult().
|
inline |
References python.statsfileInfo::i, and sgpp::base::OCLBufferWrapperSD< T >::intializeTo().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >::initialize_alpha(), and sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >::mult().
|
inline |
Executes part of one matrix-vector density multiplication from startid to startid + chunksize.
References sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >::generateSource(), sgpp::base::OCLBufferWrapperSD< T >::getBuffer(), sgpp::base::OCLBufferWrapperSD< T >::initializeBuffer(), and sgpp::base::OCLBufferWrapperSD< T >::isInitialized().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >::mult(), and sgpp::datadriven::DensityOCLMultiPlatform::OperationDensityOCLMultiPlatform< T >::start_partial_mult().