From 3ad5eeee9c6e205db8e301584797312bbd424ac7 Mon Sep 17 00:00:00 2001 From: Marcel Koch Date: Thu, 11 Jul 2024 09:04:47 +0000 Subject: [PATCH] [bench] update benchmark tests --- .../distributed_solver.profile.stderr | 18 +++++- .../multi_vector_distributed.profile.stderr | 60 +++++++++++++++++++ .../reference/spmv_distributed.profile.stderr | 42 ++++++++++++- .../reference/spmv_distributed.profile.stdout | 2 +- .../reference/spmv_distributed.simple.stdout | 2 +- 5 files changed, 118 insertions(+), 6 deletions(-) diff --git a/benchmark/test/reference/distributed_solver.profile.stderr b/benchmark/test/reference/distributed_solver.profile.stderr index cf5006ab785..51a257405c5 100644 --- a/benchmark/test/reference/distributed_solver.profile.stderr +++ b/benchmark/test/reference/distributed_solver.profile.stderr @@ -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 @@ -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 diff --git a/benchmark/test/reference/multi_vector_distributed.profile.stderr b/benchmark/test/reference/multi_vector_distributed.profile.stderr index 10de82cae01..bd33cf592f2 100644 --- a/benchmark/test/reference/multi_vector_distributed.profile.stderr +++ b/benchmark/test/reference/multi_vector_distributed.profile.stderr @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/benchmark/test/reference/spmv_distributed.profile.stderr b/benchmark/test/reference/spmv_distributed.profile.stderr index a671e0d660f..e6cc5084672 100644 --- a/benchmark/test/reference/spmv_distributed.profile.stderr +++ b/benchmark/test/reference/spmv_distributed.profile.stderr @@ -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 @@ -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 @@ -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 @@ -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 diff --git a/benchmark/test/reference/spmv_distributed.profile.stdout b/benchmark/test/reference/spmv_distributed.profile.stdout index bbef87d0b89..9f08582822f 100644 --- a/benchmark/test/reference/spmv_distributed.profile.stdout +++ b/benchmark/test/reference/spmv_distributed.profile.stdout @@ -5,7 +5,7 @@ "comm_pattern": "stencil", "spmv": { "csr-csr": { - "storage": 6420, + "storage": 6692, "time": 1.0, "repetitions": 1, "completed": true diff --git a/benchmark/test/reference/spmv_distributed.simple.stdout b/benchmark/test/reference/spmv_distributed.simple.stdout index 77bdef168d3..1461ea1918c 100644 --- a/benchmark/test/reference/spmv_distributed.simple.stdout +++ b/benchmark/test/reference/spmv_distributed.simple.stdout @@ -5,7 +5,7 @@ "comm_pattern": "stencil", "spmv": { "csr-csr": { - "storage": 6420, + "storage": 6692, "max_relative_norm2": 1.0, "time": 1.0, "repetitions": 10,