Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Xin Wang
codes-dev
Commits
1cfd739e
Commit
1cfd739e
authored
Sep 28, 2017
by
Misbah Mubarak
Browse files
Fixing irecv next event issue
parent
e08008cb
Changes
1
Show 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(
...
@@ -1320,19 +1320,18 @@ static void codes_exec_mpi_recv(
int
found_matching_sends
=
rm_matching_send
(
s
,
bf
,
m
,
lp
,
recv_op
);
int
found_matching_sends
=
rm_matching_send
(
s
,
bf
,
m
,
lp
,
recv_op
);
/* 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. */
/* 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
)
if
(
mpi_op
->
op_type
==
CODES_WK_IRECV
)
{
{
bf
->
c6
=
1
;
bf
->
c6
=
1
;
codes_issue_next_event
(
lp
);
codes_issue_next_event
(
lp
);
return
;
}
}
/* 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
);
}
}
else
else
{
{
...
...
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