libgrape-lite
A C++ library for parallel graph processing
Public Member Functions | Public Attributes | List of all members
grape::CommSpec Class Reference

CommSpec records the mappings of fragments, workers, and the threads(tasks) in each worker. More...

#include <comm_spec.h>

Public Member Functions

 __attribute__ ((no_sanitize_address)) CommSpec()
 
 __attribute__ ((no_sanitize_address)) CommSpec(const CommSpec &comm_spec)
 
 __attribute__ ((no_sanitize_address)) ~CommSpec()
 
 __attribute__ ((no_sanitize_address)) CommSpec &operator
 

Public Attributes

int worker_id_
 
int local_num_
 
int local_id_
 
fid_t fid_
 
fid_t fnum_
 
MPI_Comm comm_
 
MPI_Comm local_comm_
 
bool owner_
 
bool local_owner_
 
std::vector< int > worker_host_id_
 
std::vector< std::vector< int > > host_worker_list_
 

Detailed Description

CommSpec records the mappings of fragments, workers, and the threads(tasks) in each worker.