Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
bfd96daa
Commit
bfd96daa
authored
Mar 29, 2018
by
Neil McGlohon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dragonfly Plus Model: syntax hotfix
parent
a68fd5ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/networks/model-net/dragonfly-plus.C
src/networks/model-net/dragonfly-plus.C
+3
-3
No files found.
src/networks/model-net/dragonfly-plus.C
View file @
bfd96daa
...
...
@@ -2606,7 +2606,7 @@ static void router_packet_receive(router_state *s, tw_bf *bf, terminal_plus_mess
output_chan
=
1
;
}
ConnectionType
port_type
=
s
->
connMan
.
get_port_type
(
output_port
);
ConnectionType
port_type
=
s
->
connMan
->
get_port_type
(
output_port
);
int
max_vc_size
=
0
;
if
(
port_type
==
CONN_GLOBAL
)
{
max_vc_size
=
s
->
params
->
global_vc_size
;
...
...
@@ -2615,8 +2615,8 @@ static void router_packet_receive(router_state *s, tw_bf *bf, terminal_plus_mess
max_vc_size
=
s
->
params
->
local_vc_size
;
}
else
{
assert
(
port_type
==
CONN_TERMINAL
)
max_vc_size
=
s
->
param
->
cn_vc_size
;
assert
(
port_type
==
CONN_TERMINAL
)
;
max_vc_size
=
s
->
param
s
->
cn_vc_size
;
}
cur_chunk
->
msg
.
output_chan
=
output_chan
;
...
...
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