SG++-Doxygen-Documentation
sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type > Class Template Reference

OpenCL source builder for density matrix vector multiplication. More...

#include <KernelSourceBuilderMult.hpp>

Inheritance diagram for sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >:
sgpp::base::KernelSourceBuilderBase< real_type >

Public Member Functions

std::string generateSource (size_t dimensions, size_t problemsize)
 Generates the opencl source code for the density matrix-vector multiplication. More...
 
 SourceBuilderMult (json::Node &kernelConfiguration)
 
- Public Member Functions inherited from sgpp::base::KernelSourceBuilderBase< real_type >
 KernelSourceBuilderBase ()
 

Additional Inherited Members

- Protected Member Functions inherited from sgpp::base::KernelSourceBuilderBase< real_type >
std::string constSuffix ()
 
std::string floatType ()
 
std::string intType ()
 
std::string reuseSource (std::string fileName)
 
void writeSource (std::string fileName, std::string source)
 
- Protected Attributes inherited from sgpp::base::KernelSourceBuilderBase< real_type >
std::vector< std::string > indent
 
- Static Protected Attributes inherited from sgpp::base::KernelSourceBuilderBase< real_type >
static const size_t MAX_INDENT_LEVEL
 

Detailed Description

template<typename real_type>
class sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >

OpenCL source builder for density matrix vector multiplication.

Constructor & Destructor Documentation

◆ SourceBuilderMult()

template<typename real_type>
sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >::SourceBuilderMult ( json::Node kernelConfiguration)
inlineexplicit

Member Function Documentation

◆ generateSource()

template<typename real_type>
std::string sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderMult< real_type >::generateSource ( size_t  dimensions,
size_t  problemsize 
)
inline

Generates the opencl source code for the density matrix-vector multiplication.

Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::start_mult().


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