Skip to content
Snippets Groups Projects
Commit 0d282ca4 authored by Marcin Kirsz's avatar Marcin Kirsz
Browse files

Update

parent f9ab913c
No related branches found
No related tags found
No related merge requests found
Pipeline #43207 passed
...@@ -69,6 +69,7 @@ extern "C" void pdgemv_(char* transa, int* m, int* n, double* alpha, double* a, ...@@ -69,6 +69,7 @@ extern "C" void pdgemv_(char* transa, int* m, int* n, double* alpha, double* a,
class MPI_Trainer: public Trainer { class MPI_Trainer: public Trainer {
public: public:
int status;
int worker; int worker;
int tag; int tag;
int context1, context2; int context1, context2;
...@@ -92,8 +93,9 @@ class MPI_Trainer: public Trainer { ...@@ -92,8 +93,9 @@ class MPI_Trainer: public Trainer {
size_t phi_row = 0; // next row to be filled in the local phi array size_t phi_row = 0; // next row to be filled in the local phi array
MPI_Datatype rowvec, rowvecs; MPI_Datatype rowvec, rowvecs;
MPI_Trainer(Config &c): MPI_Trainer(Config &c, int &status):
Trainer(c) Trainer(c),
status(status)
{} {}
void init(int &rank, int &ncpu) { void init(int &rank, int &ncpu) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment