SG++-Doxygen-Documentation
|
OpenCL source builder for k nearest neighbors graph creation. More...
#include <KernelSourceBuilderCreateGraph.hpp>
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 |
OpenCL source builder for k nearest neighbors graph creation.
|
inline |
|
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().