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
mpim-sw
libcdi
Commits
709559a3
Commit
709559a3
authored
Jul 25, 2012
by
Thomas Jahns
🤸
Browse files
Move loop-invariant call out of loop.
parent
420aa6d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pio_server.c
View file @
709559a3
...
...
@@ -361,11 +361,11 @@ void getData ( int tsID, int vdate, int vtime )
// todo put in correct lbs and ubs
xassert
(
tsID
>=
0
&&
vdate
>=
0
&&
vtime
>=
0
);
xmpi
(
MPI_Win_start
(
groupModel
,
iAssert
,
getWin
));
xmpi
(
MPI_Win_get_attr
(
getWin
,
MPI_WIN_BASE
,
&
getWinBaseAddr
,
&
attrFound
));
xassert
(
attrFound
);
for
(
modelID
=
0
;
modelID
<
nProcsModel
;
modelID
++
)
{
getFlushBuffer
(
modelID
);
xmpi
(
MPI_Win_get_attr
(
getWin
,
MPI_WIN_BASE
,
&
getWinBaseAddr
,
&
attrFound
));
xassert
(
attrFound
);
xdebug
(
"modelID=%d, nProcsModel=%d, rxWin[%d].size=%d,"
" getWin=%p, sizeof(int)=%u"
,
modelID
,
nProcsModel
,
modelID
,
rxWin
[
modelID
].
size
,
...
...
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