Skip to content
Snippets Groups Projects
Commit d0729c25 authored by Anna Wellmann's avatar Anna Wellmann
Browse files

Add missing overrides

parent 895cd729
No related branches found
No related tags found
1 merge request!233Add communicator interface
...@@ -31,35 +31,35 @@ public: ...@@ -31,35 +31,35 @@ public:
void exchngBottomToTop(float *sbuf, float *rbuf, int count); void exchngBottomToTop(float *sbuf, float *rbuf, int count);
void exchngTopToBottom(float *sbuf, float *rbuf, int count); void exchngTopToBottom(float *sbuf, float *rbuf, int count);
void waitAll(); void waitAll() override;
void distributeGeometry(unsigned int *dataRoot, unsigned int *dataNode, int dataSizePerNode); void distributeGeometry(unsigned int *dataRoot, unsigned int *dataNode, int dataSizePerNode);
int getPID() const override; int getPID() const override;
int getNumberOfProcess() const; int getNumberOfProcess() const override;
int getNeighbourTop(); int getNeighbourTop();
int getNeighbourBottom(); int getNeighbourBottom();
void exchngData(float *sbuf_t, float *rbuf_t, float *sbuf_b, float *rbuf_b, int count); void exchngData(float *sbuf_t, float *rbuf_t, float *sbuf_b, float *rbuf_b, int count) override;
void exchngDataNB(float *sbuf_t, int count_st, float *rbuf_t, int count_rt, float *sbuf_b, int count_sb, void exchngDataNB(float *sbuf_t, int count_st, float *rbuf_t, int count_rt, float *sbuf_b, int count_sb,
float *rbuf_b, int count_rb); float *rbuf_b, int count_rb);
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void exchngDataGPU(real *sbuf, int count_s, real *rbuf, int count_r, int nb_rank); void exchngDataGPU(real *sbuf, int count_s, real *rbuf, int count_r, int nb_rank) override;
void sendRecvGPU(real *sbuf, int count_s, real *rbuf, int count_r, int nb_rank); void sendRecvGPU(real *sbuf, int count_s, real *rbuf, int count_r, int nb_rank);
void nbRecvDataGPU(real *rbuf, int count_r, int nb_rank); void nbRecvDataGPU(real *rbuf, int count_r, int nb_rank) override;
void nbSendDataGPU(real *sbuf, int count_s, int nb_rank); void nbSendDataGPU(real *sbuf, int count_s, int nb_rank) override;
void waitallGPU(); void waitallGPU() override;
void sendDataGPU(real *sbuf, int count_s, int nb_rank); void sendDataGPU(real *sbuf, int count_s, int nb_rank) override;
void waitGPU(int id); void waitGPU(int id) override;
void resetRequest(); void resetRequest() override;
void barrierGPU(); void barrierGPU();
void barrier(); void barrier();
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void exchngDataGeo(int *sbuf_t, int *rbuf_t, int *sbuf_b, int *rbuf_b, int count); void exchngDataGeo(int *sbuf_t, int *rbuf_t, int *sbuf_b, int *rbuf_b, int count);
MPI_Comm getMpiCommunicator(); MPI_Comm getMpiCommunicator();
void startTimer(); void startTimer() override;
void stopTimer(); void stopTimer() override;
double getTime(); double getTime() override;
int mapCudaDevice(const int &rank, const int &size, const std::vector<unsigned int> &devices, const int &maxdev); int mapCudaDevice(const int &rank, const int &size, const std::vector<unsigned int> &devices, const int &maxdev) override;
std::vector<double> gatherNUPS(double processNups); std::vector<double> gatherNUPS(double processNups) override;
double sumNups(double processNups); double sumNups(double processNups) override;
////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////
void receive_send(uint *buffer_receive, int size_buffer_recv, int neighbor_rank_recv, uint *buffer_send, void receive_send(uint *buffer_receive, int size_buffer_recv, int neighbor_rank_recv, uint *buffer_send,
int size_buffer_send, int neighbor_rank_send) const override; int size_buffer_send, int neighbor_rank_send) const override;
......
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