Skip to content

Commit f326157

Browse files
committed
update addressing comments on the PR.
Signed-off-by: Edgar Gabriel <[email protected]>
1 parent 115a438 commit f326157

File tree

6 files changed

+24
-12
lines changed

6 files changed

+24
-12
lines changed

docs/man-openmpi/man3/MPI_Request_get_status_all.3.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ MPI_Request_get_status_all
66

77
.. include_body
88
9-
:ref:`MPI_Request_get_status_all` |mdash| Access information associated with a
10-
request without freeing the request.
9+
:ref:`MPI_Request_get_status_all` |mdash| Access information associated with an
10+
array of requests without freeing the requests.
1111

1212
.. The following file was automatically generated
1313
.. include:: ./bindings/mpi_request_get_status_all.rst
1414

15-
INPUT PARAMETER
16-
---------------
15+
INPUT PARAMETERS
16+
----------------
1717
* ``count``: List length (non-negative integer)
1818
* ``array_of_requests``: Array of requests (array of handles).
1919

docs/man-openmpi/man3/MPI_Request_get_status_any.3.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ MPI_Request_get_status_any
66

77
.. include_body
88
9-
:ref:`MPI_Request_get_status_any` |mdash| Access information associated with a
10-
request without freeing the request.
9+
:ref:`MPI_Request_get_status_any` |mdash| Access information associated with an
10+
array of requests without freeing the requests.
1111

1212
.. The following file was automatically generated
1313
.. include:: ./bindings/mpi_request_get_status_any.rst
1414

15-
INPUT PARAMETER
16-
---------------
15+
INPUT PARAMETERS
16+
----------------
1717
* ``count``: List length (non-negative integer)
1818
* ``array_of_requests``: Array of requests (array of handles).
1919

docs/man-openmpi/man3/MPI_Request_get_status_some.3.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ MPI_Request_get_status_some
66

77
.. include_body
88
9-
:ref:`MPI_Request_get_status_some` |mdash| Access information associated with a
10-
request without freeing the request.
9+
:ref:`MPI_Request_get_status_some` |mdash| Access information associated with an
10+
array of requests without freeing the requests.
1111

1212
.. The following file was automatically generated
1313
.. include:: ./bindings/mpi_request_get_status_some.rst
1414

15-
INPUT PARAMETER
16-
---------------
15+
INPUT PARAMETERS
16+
----------------
1717
* ``incount``: List length (non-negative integer).
1818
* ``array_of_requests``: Array of requests (array of handles).
1919

ompi/mpi/c/request_get_status_all.c.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ PROTOTYPE ERROR_CLASS request_get_status_all(INT count, REQUEST_CONST requests:c
5454
if (NULL == requests) {
5555
rc = MPI_ERR_REQUEST;
5656
} else {
57+
/* Need to cast the const away, since the request argument for most
58+
** MPI functions invoking this functionality does not have the const
59+
** argument
60+
*/
5761
if(!ompi_request_check_same_instance((MPI_Request *)requests, count) ) {
5862
rc = MPI_ERR_REQUEST;
5963
}

ompi/mpi/c/request_get_status_any.c.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ PROTOTYPE ERROR_CLASS request_get_status_any(INT count, REQUEST_CONST requests:c
5555
if (NULL == requests) {
5656
rc = MPI_ERR_REQUEST;
5757
} else {
58+
/* Need to cast the const away, since the request argument for most
59+
** MPI functions invoking this functionality does not have the const
60+
** argument
61+
*/
5862
if(!ompi_request_check_same_instance((MPI_Request *)requests, count) ) {
5963
rc = MPI_ERR_REQUEST;
6064
}

ompi/mpi/c/request_get_status_some.c.in

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ PROTOTYPE ERROR_CLASS request_get_status_some(INT incount, REQUEST_CONST request
5555
if (NULL == requests) {
5656
rc = MPI_ERR_REQUEST;
5757
} else {
58+
/* Need to cast the const away, since the request argument for most
59+
** MPI functions invoking this functionality does not have the const
60+
** argument
61+
*/
5862
if(!ompi_request_check_same_instance((MPI_Request *)requests, incount) ) {
5963
rc = MPI_ERR_REQUEST;
6064
}

0 commit comments

Comments
 (0)