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
97ff6e97
Commit
97ff6e97
authored
Sep 16, 2018
by
Misbah Mubarak
Committed by
Neil McGlohon
Sep 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding barrier collective tag
parent
624e03ac
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
src/network-workloads/model-net-mpi-replay.c
src/network-workloads/model-net-mpi-replay.c
+3
-2
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+1
-0
No files found.
src/network-workloads/model-net-mpi-replay.c
View file @
97ff6e97
...
...
@@ -29,6 +29,7 @@
do {if (CS_LP_DBG) printf(_fmt, __VA_ARGS__);} while (0)
#define MAX_STATS 65536
#define COL_TAG 1235
#define BAR_TAG 1234
static
int
msg_size_hash_compare
(
void
*
key
,
struct
qhash_head
*
link
);
...
...
@@ -1568,7 +1569,7 @@ static void codes_exec_mpi_send(nw_state* s,
}
else
if
(
priority_type
==
1
)
{
if
(
mpi_op
->
u
.
send
.
tag
==
COL_TAG
)
if
(
mpi_op
->
u
.
send
.
tag
==
COL_TAG
||
mpi_op
->
u
.
send
.
tag
==
BAR_TAG
)
{
strcpy
(
prio
,
"high"
);
}
...
...
@@ -1822,7 +1823,7 @@ static void send_ack_back(nw_state* s, tw_bf * bf, nw_message * m, tw_lp * lp, m
}
else
if
(
priority_type
==
1
)
{
if
(
mpi_op
->
tag
==
COL_TAG
)
if
(
mpi_op
->
tag
==
COL_TAG
||
mpi_op
->
tag
==
BAR_TAG
)
{
strcpy
(
prio
,
"high"
);
}
...
...
src/networks/model-net/dragonfly-custom.C
View file @
97ff6e97
...
...
@@ -662,6 +662,7 @@ void dragonfly_print_params(const dragonfly_param *p)
printf
(
"
\t
global_bandwidth = %.2f
\n
"
,
p
->
global_bandwidth
);
printf
(
"
\t
cn_bandwidth = %.2f
\n
"
,
p
->
cn_bandwidth
);
printf
(
"
\t
num_vcs = %d
\n
"
,
p
->
num_vcs
);
printf
(
"
\t
num_qos_levels = %d
\n
"
,
p
->
num_qos_levels
);
printf
(
"
\t
local_vc_size = %d
\n
"
,
p
->
local_vc_size
);
printf
(
"
\t
global_vc_size = %d
\n
"
,
p
->
global_vc_size
);
printf
(
"
\t
cn_vc_size = %d
\n
"
,
p
->
cn_vc_size
);
...
...
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