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
192c119f
Commit
192c119f
authored
Jul 08, 2014
by
Jonathan Jenkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bad copy paste from a while ago
parent
ec9569ec
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/models/networks/model-net/dragonfly.c
src/models/networks/model-net/dragonfly.c
+1
-1
src/models/networks/model-net/loggp.c
src/models/networks/model-net/loggp.c
+2
-2
No files found.
src/models/networks/model-net/dragonfly.c
View file @
192c119f
...
...
@@ -888,7 +888,7 @@ static void node_collective_fan_in(terminal_state * s,
memcpy
(
msg_new
,
msg
,
sizeof
(
terminal_message
));
if
(
msg
->
remote_event_size_bytes
){
memcpy
(
m_data
,
model_net_method_get_edata
(
TORUS
,
msg
),
memcpy
(
m_data
,
model_net_method_get_edata
(
DRAGONFLY
,
msg
),
msg
->
remote_event_size_bytes
);
}
...
...
src/models/networks/model-net/loggp.c
View file @
192c119f
...
...
@@ -358,7 +358,7 @@ static void handle_msg_ready_event(
/* schedule event to final destination for when the recv is complete */
// printf("\n Remote message to LP %d ", m->final_dest_gid);
void
*
tmp_ptr
=
model_net_method_get_edata
(
SIMPLENET
,
m
);
void
*
tmp_ptr
=
model_net_method_get_edata
(
LOGGP
,
m
);
//char* tmp_ptr = (char*)m;
//tmp_ptr += loggp_get_msg_sz();
if
(
m
->
is_pull
){
...
...
@@ -495,7 +495,7 @@ static void handle_msg_start_event(
e_new
=
tw_event_new
(
m
->
src_gid
,
send_queue_time
+
codes_local_latency
(
lp
),
lp
);
m_new
=
tw_event_data
(
e_new
);
void
*
m_loc
=
(
char
*
)
model_net_method_get_edata
(
SIMPLENET
,
m
)
+
void
*
m_loc
=
(
char
*
)
model_net_method_get_edata
(
LOGGP
,
m
)
+
m
->
event_size_bytes
;
//local_event = (char*)m;
//local_event += loggp_get_msg_sz() + m->event_size_bytes;
...
...
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