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
codes
codes
Commits
1cfd739e
Commit
1cfd739e
authored
Sep 28, 2017
by
Misbah Mubarak
Browse files
Fixing irecv next event issue
parent
e08008cb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network-workloads/model-net-mpi-replay.c
View file @
1cfd739e
...
...
@@ -1320,19 +1320,18 @@ static void codes_exec_mpi_recv(
int
found_matching_sends
=
rm_matching_send
(
s
,
bf
,
m
,
lp
,
recv_op
);
/* for mpi irecvs, this is a non-blocking receive so just post it and move on with the trace read. */
if
(
mpi_op
->
op_type
==
CODES_WK_IRECV
)
{
bf
->
c6
=
1
;
codes_issue_next_event
(
lp
);
}
/* save the req id inserted in the completed queue for reverse computation. */
if
(
found_matching_sends
<
0
)
{
m
->
fwd
.
found_match
=
-
1
;
qlist_add
(
&
recv_op
->
ql
,
&
s
->
pending_recvs_queue
);
/* for mpi irecvs, this is a non-blocking receive so just post it and move on with the trace read. */
if
(
mpi_op
->
op_type
==
CODES_WK_IRECV
)
{
bf
->
c6
=
1
;
codes_issue_next_event
(
lp
);
return
;
}
}
else
{
...
...
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