![]()  | 
  
    SG++-Doxygen-Documentation
    
   | 
 
OpenCL kernel class for operation to create a k nearest neighbor graph. More...
#include <KernelCreateGraph.hpp>
Public Member Functions | |
| void | begin_graph_creation (size_t startid, size_t chunksize) | 
| Runs the opencl kernel to find the k nearest neighbors of all datapoints in the given chunk.  More... | |
| double | finalize_graph_creation (std::vector< int > &result, size_t startid, size_t chunksize) | 
| KernelCreateGraph (std::shared_ptr< base::OCLDevice > dev, size_t dims, size_t k, std::vector< T > &data, std::shared_ptr< base::OCLManagerMultiPlatform > manager, json::Node &kernelConfiguration) | |
| ~KernelCreateGraph () | |
Static Public Member Functions | |
| static void | augmentDefaultParameters (sgpp::base::OCLOperationConfiguration ¶meters) | 
| Adds all possible building parameters to the configuration if they do not exist yet.  More... | |
OpenCL kernel class for operation to create a k nearest neighbor graph.
      
  | 
  inline | 
      
  | 
  inline | 
      
  | 
  inlinestatic | 
Adds all possible building parameters to the configuration if they do not exist yet.
References json::Node::addDictAttr(), json::Node::addIDAttr(), json::Node::addTextAttr(), and json::Node::contains().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCL::load_default_parameters().
      
  | 
  inline | 
Runs the opencl kernel to find the k nearest neighbors of all datapoints in the given chunk.
References sgpp::datadriven::DensityOCLMultiPlatform::SourceBuilderCreateGraph< real_type >::generateSource(), sgpp::base::OCLBufferWrapperSD< T >::getBuffer(), sgpp::base::OCLBufferWrapperSD< T >::initializeBuffer(), and sgpp::base::OCLBufferWrapperSD< T >::isInitialized().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCLSingleDevice< T >::begin_graph_creation(), and sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCLSingleDevice< T >::create_graph().
      
  | 
  inline | 
References sgpp::base::OCLBufferWrapperSD< T >::getHostPointer(), python.statsfileInfo::i, and sgpp::base::OCLBufferWrapperSD< T >::readFromBuffer().
Referenced by sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCLSingleDevice< T >::create_graph(), and sgpp::datadriven::DensityOCLMultiPlatform::OperationCreateGraphOCLSingleDevice< T >::finalize_graph_creation().