Reusing MPI MPI_Request

Is it possible to reuse the ready MPI_Request for another request? I use the MPI_Request pool to improve performance and there are no errors. But it would be good to know for sure.

+4
source share
2 answers

It will just be possible to reuse your objects MPI_Requestuntil they are complete before you use them again (either by completing the request, or by manually releasing the request object with MPI_REQUEST_FREE).

+4
source

MPI_Request , (- ) MPI. MPI . , , MPI. , , .

, MPI , MPI_Wait*/MPI_Test* MPI_REQUEST_NULL . , MPI_Request_free MPI_REQUEST_NULL . .

( MPI_Comm), ( MPI_Datatype), ( MPI_Op) ..

+5

Source: https://habr.com/ru/post/1531817/


All Articles