SG++-Doxygen-Documentation
sgpp::datadriven::clusteringmpi::DensityWorker Class Reference

#include <OperationDensityMPI.hpp>

Inheritance diagram for sgpp::datadriven::clusteringmpi::DensityWorker:
sgpp::datadriven::clusteringmpi::MPIWorkerGridBase sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< double > sgpp::datadriven::clusteringmpi::MPIWorkerBase sgpp::datadriven::clusteringmpi::MPIWorkerBase sgpp::datadriven::clusteringmpi::OperationDensityMultMPI

Public Member Functions

 DensityWorker ()
 
 DensityWorker (base::Grid &grid, double lambda)
 
 DensityWorker (base::Grid &grid, double lambda, std::string ocl_conf_filename)
 
virtual ~DensityWorker ()
 
- Public Member Functions inherited from sgpp::datadriven::clusteringmpi::MPIWorkerGridBase
virtual ~MPIWorkerGridBase ()
 
- Public Member Functions inherited from sgpp::datadriven::clusteringmpi::MPIWorkerBase
 MPIWorkerBase (std::string worker_class_name)
 
 MPIWorkerBase ()
 
void release_sub_workers (void)
 
void start_sub_workers (void)
 
virtual ~MPIWorkerBase (void)
 
- Public Member Functions inherited from sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< double >
 MPIWorkerPackageBase (std::string operationName, int multiplier)
 
 MPIWorkerPackageBase (std::string operationName, int multiplier, std::string ocl_conf_filename)
 
void start_worker_main (void)
 
virtual ~MPIWorkerPackageBase ()
 

Protected Member Functions

void begin_opencl_operation (int *workpackage)
 
void finalize_opencl_operation (double *result_buffer, int *workpackage)
 
void receive_alpha (double **alpha)
 
void receive_and_send_initial_data (void)
 
void send_alpha (double **alpha)
 
- Protected Member Functions inherited from sgpp::datadriven::clusteringmpi::MPIWorkerGridBase
 MPIWorkerGridBase (std::string operationName)
 
 MPIWorkerGridBase (std::string operationName, base::Grid &grid)
 
- Protected Member Functions inherited from sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< double >
void divide_workpackages (int *package, double *erg)
 

Protected Attributes

double * alpha
 
double lambda
 
size_t oldgridsize
 
DensityOCLMultiPlatform::OperationDensityop
 
- Protected Attributes inherited from sgpp::datadriven::clusteringmpi::MPIWorkerGridBase
int complete_gridsize
 
int grid_dimensions
 
int * gridpoints
 
int gridsize
 
- Protected Attributes inherited from sgpp::datadriven::clusteringmpi::MPIWorkerBase
bool verbose
 
- Protected Attributes inherited from sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< double >
MPI_Comm & master_worker_comm
 
MPI_Datatype mpi_typ
 
size_t opencl_device
 
bool opencl_node
 
size_t opencl_platform
 
bool overseer_node
 
int packagesize_multiplier
 
base::OCLOperationConfigurationparameters
 
bool prefetching
 
bool redistribute
 
int secondary_workpackage [2]
 
size_t size
 
MPI_Comm & sub_worker_comm
 

Constructor & Destructor Documentation

◆ DensityWorker() [1/3]

◆ DensityWorker() [2/3]

◆ DensityWorker() [3/3]

◆ ~DensityWorker()

virtual sgpp::datadriven::clusteringmpi::DensityWorker::~DensityWorker ( )
inlinevirtual

Member Function Documentation

◆ begin_opencl_operation()

void sgpp::datadriven::clusteringmpi::DensityWorker::begin_opencl_operation ( int *  workpackage)
inlineprotectedvirtual

◆ finalize_opencl_operation()

void sgpp::datadriven::clusteringmpi::DensityWorker::finalize_opencl_operation ( double *  result_buffer,
int *  workpackage 
)
inlineprotectedvirtual

◆ receive_alpha()

◆ receive_and_send_initial_data()

◆ send_alpha()

Member Data Documentation

◆ alpha

double* sgpp::datadriven::clusteringmpi::DensityWorker::alpha
protected

◆ lambda

double sgpp::datadriven::clusteringmpi::DensityWorker::lambda
protected

◆ oldgridsize

size_t sgpp::datadriven::clusteringmpi::DensityWorker::oldgridsize
protected

◆ op

DensityOCLMultiPlatform::OperationDensity* sgpp::datadriven::clusteringmpi::DensityWorker::op
protected

Referenced by ~DensityWorker().


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