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
Rob Latham
MPICH-BlueGene
Commits
05fd0e1b
Commit
05fd0e1b
authored
Jul 24, 2013
by
Xin Zhao
Committed by
Pavan Balaji
Jul 24, 2013
Browse files
fix bug: return info=false in MPIDI_Win_get_info if that info is not set by user.
Signed-off-by:
Pavan Balaji
<
balaji@mcs.anl.gov
>
parent
95439bc8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpid/ch3/src/ch3u_win_fns.c
View file @
05fd0e1b
...
...
@@ -353,7 +353,7 @@ int MPIDI_Win_get_info(MPID_Win *win, MPID_Info **info_used)
if
(
win
->
info_args
.
no_locks
)
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"no_locks"
,
"true"
);
else
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"no_locks"
,
""
);
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"no_locks"
,
"
false
"
);
if
(
mpi_errno
!=
MPI_SUCCESS
)
{
MPIU_ERR_POP
(
mpi_errno
);
}
...
...
@@ -386,7 +386,7 @@ int MPIDI_Win_get_info(MPID_Win *win, MPID_Info **info_used)
if
(
win
->
info_args
.
alloc_shared_noncontig
)
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"alloc_shared_noncontig"
,
"true"
);
else
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"alloc_shared_noncontig"
,
""
);
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"alloc_shared_noncontig"
,
"
false
"
);
if
(
mpi_errno
!=
MPI_SUCCESS
)
{
MPIU_ERR_POP
(
mpi_errno
);
}
}
...
...
@@ -394,7 +394,7 @@ int MPIDI_Win_get_info(MPID_Win *win, MPID_Info **info_used)
if
(
win
->
info_args
.
same_size
)
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"same_size"
,
"true"
);
else
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"same_size"
,
""
);
mpi_errno
=
MPIR_Info_set_impl
(
*
info_used
,
"same_size"
,
"
false
"
);
if
(
mpi_errno
!=
MPI_SUCCESS
)
{
MPIU_ERR_POP
(
mpi_errno
);
}
}
...
...
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