SG++-Doxygen-Documentation
|
Class for opencl density multiplication and density right hand side vector. More...
#include <OperationDensityOCLMultiPlatform.hpp>
Public Member Functions | |
void | finalize_rhs_generation (sgpp::base::DataVector &b, size_t start_id, size_t chunksize) override |
void | finish_partial_mult (double *result, int start_id, int chunksize) override |
void | generateb (base::DataMatrix &dataset, sgpp::base::DataVector &b, size_t start_id=0, size_t chunksize=0) override |
Generates the right hand side vector for the density equation. More... | |
void | initialize_alpha (double *alpha) override |
Use before calling partial_mult directly. More... | |
void | initialize_dataset (base::DataMatrix &dataset) override |
void | mult (base::DataVector &alpha, base::DataVector &result) override |
Execute one matrix-vector multiplication with the density matrix. More... | |
OperationDensityOCLMultiPlatform (base::Grid &grid, size_t dimensions, std::shared_ptr< base::OCLManagerMultiPlatform > manager, sgpp::base::OCLOperationConfiguration *parameters, T lambda, size_t platform_id, size_t device_id) | |
Normal constructor. More... | |
OperationDensityOCLMultiPlatform (int *gridpoints, size_t gridsize, size_t dimensions, std::shared_ptr< base::OCLManagerMultiPlatform > manager, sgpp::base::OCLOperationConfiguration *parameters, T lambda, size_t platform_id, size_t device_id) | |
Constructor for mpi nodes - accepts grid als integer array. More... | |
void | start_partial_mult (int start_id, int chunksize) override |
Execute a partial (startindex to startindex+chunksize) multiplication with the density matrix. More... | |
void | start_rhs_generation (size_t start_id, size_t chunksize) override |
~OperationDensityOCLMultiPlatform () | |
Public Member Functions inherited from sgpp::datadriven::DensityOCLMultiPlatform::OperationDensity | |
OperationDensity () | |
Public Member Functions inherited from sgpp::base::OperationMatrix | |
OperationMatrix () | |
Constructor. More... | |
virtual | ~OperationMatrix () |
Destructor. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from sgpp::datadriven::DensityOCLMultiPlatform::OperationDensity | |
static void | load_default_parameters (base::OCLOperationConfiguration *parameters) |
Generate the default parameters in die json configuration. More... | |
Class for opencl density multiplication and density right hand side vector.
|
inline |
|
inline |
Constructor for mpi nodes - accepts grid als integer array.
References analyse_erg::counter, and python.statsfileInfo::i.
|
inline |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Generates the right hand side vector for the density equation.
Implements sgpp::datadriven::DensityOCLMultiPlatform::OperationDensity.
References sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::finalize_rhs_generation(), sgpp::base::DataMatrix::getPointer(), sgpp::base::DataVector::getSize(), sgpp::base::DataMatrix::getSize(), python.statsfileInfo::i, sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::initialize_dataset(), python.leja::start, and sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityB< T >::start_rhs_generation().
|
inlineoverridevirtual |
Use before calling partial_mult directly.
Implements sgpp::datadriven::DensityOCLMultiPlatform::OperationDensity.
References python.statsfileInfo::i, and sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::initialize_alpha_buffer().
|
inlineoverridevirtual |
|
inlineoverridevirtual |
Execute one matrix-vector multiplication with the density matrix.
Implements sgpp::datadriven::DensityOCLMultiPlatform::OperationDensity.
References sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::finish_mult(), python.statsfileInfo::i, sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::initialize_alpha_buffer(), python.leja::start, and sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::start_mult().
|
inlineoverridevirtual |
Execute a partial (startindex to startindex+chunksize) multiplication with the density matrix.
Implements sgpp::datadriven::DensityOCLMultiPlatform::OperationDensity.
References sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::start_mult().
|
inlineoverridevirtual |