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
Xin Wang
codes-dev
Commits
bb86c2f5
Commit
bb86c2f5
authored
Jan 13, 2017
by
Misbah Mubarak
Browse files
Fix in MPI simulation layer: matching condition should be the same for sends and receives
parent
227b7a0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/network-workloads/model-net-mpi-replay.c
View file @
bb86c2f5
...
...
@@ -603,8 +603,9 @@ static int rm_matching_rcv(nw_state * ns,
qlist_for_each
(
ent
,
&
ns
->
pending_recvs_queue
){
qi
=
qlist_entry
(
ent
,
mpi_msgs_queue
,
ql
);
if
((
qi
->
num_bytes
==
qitem
->
num_bytes
)
&&
((
qi
->
tag
==
qitem
->
tag
)
||
qi
->
tag
==
-
1
)
if
(
//(qi->num_bytes == qitem->num_bytes)
//&&
((
qi
->
tag
==
qitem
->
tag
)
||
qi
->
tag
==
-
1
)
&&
((
qi
->
source_rank
==
qitem
->
source_rank
)
||
qi
->
source_rank
==
-
1
))
{
matched
=
1
;
...
...
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