SparseLibrary
Version 1.6.0
|
Shared data for RDCSB threads. More...
#include <RDCSB.hpp>
Public Member Functions | |
RDCSB_shared_data () | |
Base constructor. More... | |
RDCSB_shared_data (unsigned long int _id, unsigned long int _P, std::vector< Triplet< double > > *_original, unsigned long int *_nzb, pthread_mutex_t *_mutex, pthread_cond_t *_cond, pthread_mutex_t *_end_mutex, pthread_cond_t *_end_cond, unsigned long int *_sync, unsigned long int *_end_sync, unsigned long int _ovsize, unsigned long int _ovoffset) | |
Recommended constructor. | |
Public Attributes | |
unsigned long int | id |
unsigned long int | P |
unsigned char | mode |
0 undef, 1 init, 2 zax, 3 zxa, 4 exit | |
unsigned long int | repeat |
how many times to repeat the operation set in `mode' (above, only for 2 and 3) | |
std::vector< Triplet< T > > * | original |
unsigned long int * | nzb |
Will store rowsums. | |
double | time |
Will store local timing. | |
pthread_mutex_t * | mutex |
pthread_cond_t * | cond |
pthread_mutex_t * | end_mutex |
pthread_cond_t * | end_cond |
unsigned long int * | sync |
unsigned long int * | end_sync |
unsigned long int | output_vector_size |
unsigned long int | output_vector_offset |
T * | local_y |
Shared data for RDCSB threads.
|
inline |
Base constructor.
Will initialise all to invalid values or NULL.