SG++-Doxygen-Documentation
|
Class for creating compute kernels for the MultiEval operation \(v:= B^T \alpha\). More...
#include <SourceBuilderMult.hpp>
Public Member Functions | |
std::string | generateSource () |
Entry point of source generator. More... | |
SourceBuilderMult (std::shared_ptr< base::OCLDevice > device, json::Node &kernelConfiguration, size_t dims) | |
Constructor. More... | |
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 |
Class for creating compute kernels for the MultiEval operation \(v:= B^T \alpha\).
This class uses the parameters of the provided configuration to create OpenCL source code. The generated code is specific to a single device, there each KernelMult requires its own SourceBuilderMult. For the code generation, a code fragment concatenation approach is used.
|
inline |
Constructor.
device | The device this code generators creates for |
kernelConfiguration | The configuration for this device |
dims | Dimension of the data mining problem |
|
inline |
Entry point of source generator.
Creates compute kernel for the MultiEval operation.
Referenced by sgpp::datadriven::StreamingOCLMultiPlatform::KernelMult< T >::mult().