![]() |
SG++-Doxygen-Documentation
|
OpenCL source builder for density matrix vector multiplication. More...
#include <KernelSourceBuilderMult.hpp>
Public Member Functions | |
std::string | generateSource (size_t dimensions, size_t problemsize) |
Generates the opencl source code for the density matrix-vector multiplication. | |
SourceBuilderMult (json::Node &kernelConfiguration) | |
![]() | |
KernelSourceBuilderBase () | |
Additional Inherited Members | |
![]() | |
std::string | constSuffix () |
std::string | floatType () |
std::string | intType () |
std::string | reuseSource (std::string fileName) |
void | writeSource (std::string fileName, std::string source) |
![]() | |
std::vector< std::string > | indent |
![]() | |
static const size_t | MAX_INDENT_LEVEL |
OpenCL source builder for density matrix vector multiplication.
|
inlineexplicit |
References json::Node::contains(), json::Node::getBool(), and json::Node::getUInt().
|
inline |
Generates the opencl source code for the density matrix-vector multiplication.
References json::Node::contains(), sgpp::base::KernelSourceBuilderBase< real_type >::floatType(), sgpp::base::KernelSourceBuilderBase< real_type >::indent, sgpp::base::KernelSourceBuilderBase< real_type >::reuseSource(), and sgpp::base::KernelSourceBuilderBase< real_type >::writeSource().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelDensityMult< T >::start_mult().