Skip to content
GitLab
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
14b4acc7
Commit
14b4acc7
authored
Jul 05, 2013
by
Pavan Balaji
Browse files
ch3 should be creating UNIFIED windows.
parent
8448badc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/mpid/ch3/src/mpid_rma.c
View file @
14b4acc7
...
...
@@ -80,7 +80,7 @@ int MPID_Win_create(void *base, MPI_Aint size, int disp_unit, MPID_Info *info,
MPIDI_RMA_FUNC_ENTER
(
MPID_STATE_MPID_WIN_CREATE
);
mpi_errno
=
win_init
(
size
,
disp_unit
,
MPI_WIN_FLAVOR_CREATE
,
MPI_WIN_
SEPARATE
,
comm_ptr
,
win_ptr
);
mpi_errno
=
win_init
(
size
,
disp_unit
,
MPI_WIN_FLAVOR_CREATE
,
MPI_WIN_
UNIFIED
,
comm_ptr
,
win_ptr
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
(
*
win_ptr
)
->
base
=
base
;
...
...
@@ -106,7 +106,7 @@ int MPID_Win_allocate(MPI_Aint size, int disp_unit, MPID_Info *info,
MPIDI_RMA_FUNC_ENTER
(
MPID_STATE_MPID_WIN_ALLOCATE
);
mpi_errno
=
win_init
(
size
,
disp_unit
,
MPI_WIN_FLAVOR_ALLOCATE
,
MPI_WIN_
SEPARATE
,
comm_ptr
,
win_ptr
);
mpi_errno
=
win_init
(
size
,
disp_unit
,
MPI_WIN_FLAVOR_ALLOCATE
,
MPI_WIN_
UNIFIED
,
comm_ptr
,
win_ptr
);
if
(
mpi_errno
!=
MPI_SUCCESS
)
{
MPIU_ERR_POP
(
mpi_errno
);
}
mpi_errno
=
MPIDI_CH3U_Win_fns
.
allocate
(
size
,
disp_unit
,
info
,
comm_ptr
,
baseptr
,
win_ptr
);
...
...
@@ -133,7 +133,7 @@ int MPID_Win_create_dynamic(MPID_Info *info, MPID_Comm *comm_ptr,
mpi_errno
=
win_init
(
0
/* spec defines size to be 0 */
,
1
/* spec defines disp_unit to be 1 */
,
MPI_WIN_FLAVOR_DYNAMIC
,
MPI_WIN_
SEPARATE
,
MPI_WIN_FLAVOR_DYNAMIC
,
MPI_WIN_
UNIFIED
,
comm_ptr
,
win_ptr
);
if
(
mpi_errno
)
MPIU_ERR_POP
(
mpi_errno
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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