Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dkrz-sw
yaxt
Commits
cb575d73
Commit
cb575d73
authored
Jun 13, 2020
by
Thomas Jahns
🤸
Browse files
Minor beautification.
parent
ec4e64ee
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/xt_mpi.c
View file @
cb575d73
...
...
@@ -259,8 +259,10 @@ xt_mpi_generate_datatype_block(const int *displacements,
#endif
}
MPI_Datatype
xt_mpi_generate_datatype
(
int
const
*
displacements
,
int
count
,
MPI_Datatype
old_type
,
MPI_Comm
comm
)
{
MPI_Datatype
xt_mpi_generate_datatype
(
int
const
*
displacements
,
int
count
,
MPI_Datatype
old_type
,
MPI_Comm
comm
)
{
if
(
count
<=
0
)
return
MPI_DATATYPE_NULL
;
...
...
@@ -892,8 +894,7 @@ xt_mpi_test_some(int *restrict num_req,
MPI_STATUSES_IGNORE
),
comm
);
if
(
done_count
!=
MPI_UNDEFINED
)
{
if
(
num_req_
>
(
size_t
)
done_count
)
{
size_t
j
=
num_req_
;
for
(
size_t
i
=
0
;
for
(
size_t
i
=
0
,
j
=
num_req_
;
i
<
(
size_t
)
done_count
&&
j
>=
num_req_
-
(
size_t
)
done_count
;
++
i
)
if
(
ops_completed
[
i
]
<
(
int
)
num_req_
-
done_count
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment