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

OpenCL source builder for k nearest neighbors graph creation. More...

#include <KernelSourceBuilderCreateGraph.hpp>

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

Public Member Functions

std::string generateSource (size_t dimensions, size_t k, size_t dataSize, size_t problemsize)
 Generates the whole opencl kernel code for the creation of a k nearest neighbor graph. More...
 
 SourceBuilderCreateGraph (json::Node &kernelConfiguration, size_t dims)
 
- 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::SourceBuilderCreateGraph< real_type >

OpenCL source builder for k nearest neighbors graph creation.

Constructor & Destructor Documentation

◆ SourceBuilderCreateGraph()

template<typename real_type>
sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderCreateGraph< real_type >::SourceBuilderCreateGraph ( json::Node kernelConfiguration,
size_t  dims 
)
inline

Member Function Documentation

◆ generateSource()

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

Generates the whole opencl kernel code for the creation of a k nearest neighbor graph.

Referenced by sgpp::datadriven::DensityOCLMultiPlatform::KernelCreateGraph< T >::begin_graph_creation().


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