![]() |
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. | |
SourceBuilderCreateGraph (json::Node &kernelConfiguration, size_t dims) | |
![]() | |
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 k nearest neighbors graph creation.
|
inline |
References json::Node::contains(), json::Node::getBool(), and json::Node::getUInt().
|
inline |
Generates the whole opencl kernel code for the creation of a k nearest neighbor graph.
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::KernelCreateGraph< T >::begin_graph_creation().