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
343ba7c0
Commit
343ba7c0
authored
Nov 06, 2015
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix in codes-workload-dump and dumpi trace workload method
parent
5163f041
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
6 deletions
+7
-6
codes/codes-workload.h
codes/codes-workload.h
+4
-4
src/workload/codes-workload-dump.c
src/workload/codes-workload-dump.c
+2
-2
src/workload/methods/codes-dumpi-trace-nw-wrkld.c
src/workload/methods/codes-dumpi-trace-nw-wrkld.c
+1
-0
No files found.
codes/codes-workload.h
View file @
343ba7c0
...
...
@@ -187,7 +187,7 @@ struct codes_workload_op
int
data_type
;
/* MPI data type to be matched with the recv */
int
count
;
/* number of elements to be received */
int
tag
;
/* tag of the message */
int
16
_t
req_id
;
int
32
_t
req_id
;
}
send
;
struct
{
/* TODO: not sure why source rank is here */
...
...
@@ -197,7 +197,7 @@ struct codes_workload_op
int
data_type
;
/* MPI data type to be matched with the send */
int
count
;
/* number of elements to be sent */
int
tag
;
/* tag of the message */
int
16
_t
req_id
;
int
32
_t
req_id
;
}
recv
;
/* TODO: non-stub for other collectives */
struct
{
...
...
@@ -205,10 +205,10 @@ struct codes_workload_op
}
collective
;
struct
{
int
count
;
int
16
_t
*
req_ids
;
int
32
_t
*
req_ids
;
}
waits
;
struct
{
int
16
_t
req_id
;
int
32
_t
req_id
;
}
wait
;
}
u
;
};
...
...
src/workload/codes-workload-dump.c
View file @
343ba7c0
...
...
@@ -341,8 +341,8 @@ int main(int argc, char *argv[])
recv_size
+=
op
.
u
.
recv
.
num_bytes
;
break
;
case
CODES_WK_ISEND
:
num_i
recv
s
++
;
i
recv
_size
+=
op
.
u
.
send
.
num_bytes
;
num_i
send
s
++
;
i
send
_size
+=
op
.
u
.
send
.
num_bytes
;
break
;
case
CODES_WK_IRECV
:
num_irecvs
++
;
...
...
src/workload/methods/codes-dumpi-trace-nw-wrkld.c
View file @
343ba7c0
...
...
@@ -375,6 +375,7 @@ int handleDUMPISend(const dumpi_send *prm, uint16_t thread,
assert
(
wrkld_per_rank
.
u
.
send
.
num_bytes
>
0
);
wrkld_per_rank
.
u
.
send
.
dest_rank
=
prm
->
dest
;
wrkld_per_rank
.
u
.
send
.
source_rank
=
myctx
->
my_rank
;
wrkld_per_rank
.
u
.
send
.
req_id
=
-
1
;
update_times_and_insert
(
&
wrkld_per_rank
,
wall
,
myctx
);
return
0
;
...
...
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