Skip to content

Commit a60e3da

Browse files
committed
ScalarCache allocate memory when it is used in the first time
the size difference is 3 * ValueType because we use 3 process for mpi
1 parent b9d947c commit a60e3da

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

benchmark/test/reference/distributed_solver.profile.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ DEBUG: end copy
6262
DEBUG: begin copy
6363
DEBUG: end copy
6464
DEBUG: end copy(<typename>)
65-
DEBUG: begin dense::fill
66-
DEBUG: end dense::fill
6765
DEBUG: begin components::aos_to_soa
6866
DEBUG: end components::aos_to_soa
6967
DEBUG: begin distributed_matrix::separate_local_nonlocal
@@ -148,6 +146,8 @@ DEBUG: begin advanced_apply(<typename>)
148146
DEBUG: begin csr::advanced_spmv
149147
DEBUG: end csr::advanced_spmv
150148
DEBUG: end advanced_apply(<typename>)
149+
DEBUG: begin dense::fill
150+
DEBUG: end dense::fill
151151
DEBUG: begin advanced_apply(<typename>)
152152
DEBUG: begin csr::advanced_spmv
153153
DEBUG: end csr::advanced_spmv

benchmark/test/reference/spmv_distributed.profile.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,6 @@ DEBUG: end copy
7878
DEBUG: begin copy
7979
DEBUG: end copy
8080
DEBUG: end copy(<typename>)
81-
DEBUG: begin dense::fill
82-
DEBUG: end dense::fill
8381
DEBUG: begin components::aos_to_soa
8482
DEBUG: end components::aos_to_soa
8583
DEBUG: begin distributed_matrix::separate_local_nonlocal
@@ -128,6 +126,8 @@ DEBUG: begin apply(<typename>)
128126
DEBUG: begin csr::spmv
129127
DEBUG: end csr::spmv
130128
DEBUG: end apply(<typename>)
129+
DEBUG: begin dense::fill
130+
DEBUG: end dense::fill
131131
DEBUG: begin advanced_apply(<typename>)
132132
DEBUG: begin csr::advanced_spmv
133133
DEBUG: end csr::advanced_spmv

benchmark/test/reference/spmv_distributed.profile.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"comm_pattern": "stencil",
66
"spmv": {
77
"csr-csr": {
8-
"storage": 11476,
8+
"storage": 11452,
99
"time": 1.0,
1010
"repetitions": 1,
1111
"completed": true

benchmark/test/reference/spmv_distributed.simple.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"comm_pattern": "stencil",
66
"spmv": {
77
"csr-csr": {
8-
"storage": 11476,
8+
"storage": 11452,
99
"max_relative_norm2": 1.0,
1010
"time": 1.0,
1111
"repetitions": 10,

benchmark/test/reference/spmv_distributed_dcomplex.simple.stdout

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"comm_pattern": "stencil",
66
"spmv": {
77
"csr-csr": {
8-
"storage": 17300,
8+
"storage": 17252,
99
"max_relative_norm2": 1.0,
1010
"time": 1.0,
1111
"repetitions": 10,

0 commit comments

Comments
 (0)