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
6ef443bf
Commit
6ef443bf
authored
May 11, 2018
by
Neil McGlohon
Browse files
Dragonfly Plus: Fix embarassing nonzeroed memory bug
parent
79735b3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/dragonfly-plus.C
View file @
6ef443bf
...
...
@@ -585,6 +585,7 @@ void dragonfly_plus_print_params(dragonfly_plus_param *p)
printf
(
"local_vc_size = %d
\n
"
,
p
->
local_vc_size
);
printf
(
"global_vc_size = %d
\n
"
,
p
->
global_vc_size
);
printf
(
"cn_vc_size = %d
\n
"
,
p
->
cn_vc_size
);
printf
(
"chunk_size = %d
\n
"
,
p
->
chunk_size
);
printf
(
"num_cn = %d
\n
"
,
p
->
num_cn
);
printf
(
"intra_grp_radix = %d
\n
"
,
p
->
intra_grp_radix
);
printf
(
"num_level_chans = %d
\n
"
,
p
->
num_level_chans
);
...
...
@@ -1535,6 +1536,7 @@ static void packet_send(terminal_state *s, tw_bf *bf, terminal_plus_message *msg
m
->
local_event_size_bytes
=
0
;
m
->
intm_rtr_id
=
-
1
;
m
->
intm_group_id
=
-
1
;
m
->
dfp_upward_channel_flag
=
0
;
tw_event_send
(
e
);
...
...
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