SG++-Doxygen-Documentation
sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T > Class Template Referenceabstract

#include <OperationPackageBaseMPI.hpp>

Inheritance diagram for sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >:
sgpp::datadriven::clusteringmpi::MPIWorkerBase

Public Member Functions

 MPIWorkerPackageBase (std::string operationName, int multiplier)
 
 MPIWorkerPackageBase (std::string operationName, int multiplier, std::string ocl_conf_filename)
 
void start_worker_main (void)
 
virtual ~MPIWorkerPackageBase ()
 
- 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)
 

Protected Member Functions

virtual void begin_opencl_operation (int *workpackage)=0
 
void divide_workpackages (int *package, T *erg)
 
virtual void finalize_opencl_operation (T *result_buffer, int *workpackage)=0
 
virtual void receive_and_send_initial_data (void)=0
 

Protected Attributes

MPI_Comm & master_worker_comm
 
MPI_Datatype mpi_typ
 
size_t opencl_device = 0
 
bool opencl_node
 
size_t opencl_platform = 0
 
bool overseer_node
 
int packagesize_multiplier
 
base::OCLOperationConfigurationparameters
 
bool prefetching
 
bool redistribute
 
int secondary_workpackage [2]
 
size_t size
 
MPI_Comm & sub_worker_comm
 
- Protected Attributes inherited from sgpp::datadriven::clusteringmpi::MPIWorkerBase
bool verbose
 

Constructor & Destructor Documentation

template<class T>
sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::MPIWorkerPackageBase ( std::string  operationName,
int  multiplier 
)
inline
template<class T>
sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::MPIWorkerPackageBase ( std::string  operationName,
int  multiplier,
std::string  ocl_conf_filename 
)
inline
template<class T>
virtual sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::~MPIWorkerPackageBase ( )
inlinevirtual

Member Function Documentation

template<class T>
void sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::divide_workpackages ( int *  package,
T *  erg 
)
inlineprotected
template<class T>
void sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::start_worker_main ( void  )
inlinevirtual

Member Data Documentation

template<class T>
MPI_Comm& sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::master_worker_comm
protected
template<class T>
MPI_Datatype sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::mpi_typ
protected
template<class T>
size_t sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::opencl_device = 0
protected
template<class T>
bool sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::opencl_node
protected
template<class T>
size_t sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::opencl_platform = 0
protected
template<class T>
bool sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::overseer_node
protected
template<class T>
bool sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::prefetching
protected
template<class T>
bool sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::redistribute
protected
template<class T>
int sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::secondary_workpackage[2]
protected
template<class T>
MPI_Comm& sgpp::datadriven::clusteringmpi::MPIWorkerPackageBase< T >::sub_worker_comm
protected

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