Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Index map in PGM #1639

Open
wants to merge 5 commits into
base: global-to-local
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
Loading