free requests
This commit is contained in:
@@ -149,7 +149,12 @@ int main(int argc, char **argv) {
|
|||||||
if (munlock(buf, bytes)) {
|
if (munlock(buf, bytes)) {
|
||||||
perror("error unlocking memory");
|
perror("error unlocking memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MPI_Request_free(&sreq);
|
||||||
|
MPI_Request_free(&rreq);
|
||||||
delete[] buf;
|
delete[] buf;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MPI_Finalize();
|
MPI_Finalize();
|
||||||
|
Reference in New Issue
Block a user