Skip to content

Commit

Permalink
[bench] update benchmark tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelKoch committed Aug 9, 2024
1 parent 0a57bf3 commit 3ad5eee
Show file tree
Hide file tree
Showing 5 changed files with 118 additions and 6 deletions.
18 changes: 16 additions & 2 deletions benchmark/test/reference/distributed_solver.profile.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,28 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
Expand Down Expand Up @@ -82,8 +98,6 @@ DEBUG: begin copy
DEBUG: end copy
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::convert_idxs_to_ptrs
DEBUG: end components::convert_idxs_to_ptrs
DEBUG: begin components::convert_idxs_to_ptrs
Expand Down
60 changes: 60 additions & 0 deletions benchmark/test/reference/multi_vector_distributed.profile.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,24 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_from_global_size
Expand All @@ -34,12 +46,24 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin dense::fill
Expand All @@ -61,12 +85,24 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_from_global_size
Expand All @@ -79,12 +115,24 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin dense::fill
Expand All @@ -110,12 +158,24 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin dense::fill
Expand Down
42 changes: 40 additions & 2 deletions benchmark/test/reference/spmv_distributed.profile.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,24 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::aos_to_soa
Expand All @@ -38,12 +50,24 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::aos_to_soa
Expand All @@ -66,12 +90,28 @@ DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin partition::build_from_contiguous
DEBUG: end partition::build_from_contiguous
DEBUG: begin partition::build_starting_indices
DEBUG: end partition::build_starting_indices
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin partition::build_ranges_by_part
DEBUG: end partition::build_ranges_by_part
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::prefix_sum_nonnegative
DEBUG: end components::prefix_sum_nonnegative
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
DEBUG: end components::fill_array
DEBUG: begin components::fill_array
Expand Down Expand Up @@ -134,8 +174,6 @@ DEBUG: begin copy
DEBUG: end copy
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin copy
DEBUG: end copy
DEBUG: begin components::convert_idxs_to_ptrs
DEBUG: end components::convert_idxs_to_ptrs
DEBUG: begin components::convert_idxs_to_ptrs
Expand Down
2 changes: 1 addition & 1 deletion benchmark/test/reference/spmv_distributed.profile.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"comm_pattern": "stencil",
"spmv": {
"csr-csr": {
"storage": 6420,
"storage": 6692,
"time": 1.0,
"repetitions": 1,
"completed": true
Expand Down
2 changes: 1 addition & 1 deletion benchmark/test/reference/spmv_distributed.simple.stdout
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"comm_pattern": "stencil",
"spmv": {
"csr-csr": {
"storage": 6420,
"storage": 6692,
"max_relative_norm2": 1.0,
"time": 1.0,
"repetitions": 10,
Expand Down

0 comments on commit 3ad5eee

Please sign in to comment.