-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR fixes the residual logging in the complex solver benchmark. In addition, tests for the `complex<double>` benchmarks are enabled for all benchmarks. Related PR: #1692
- Loading branch information
Showing
30 changed files
with
473 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Running on ReferenceExecutor | ||
Running with 2 warm iterations and 10 running iterations | ||
The random seed for right hand sides is 42 | ||
The operations are copy,axpy,scal | ||
Running test case n = 100 | ||
Running blas: copy | ||
Running blas: axpy | ||
Running blas: scal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[ | ||
{ | ||
"n": 100, | ||
"blas": { | ||
"copy": { | ||
"time": 1.0, | ||
"flops": 1.0, | ||
"bandwidth": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
}, | ||
"axpy": { | ||
"time": 1.0, | ||
"flops": 1.0, | ||
"bandwidth": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
}, | ||
"scal": { | ||
"time": 1.0, | ||
"flops": 1.0, | ||
"bandwidth": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
} | ||
} | ||
} | ||
] |
10 changes: 10 additions & 0 deletions
10
benchmark/test/reference/conversion_dcomplex.simple.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Running on ReferenceExecutor | ||
Running with 2 warm iterations and 10 running iterations | ||
The random seed for right hand sides is 42 | ||
The formats are coo,csr | ||
Running test case stencil(100, 7pt) | ||
Matrix is of size (125, 125), 725 | ||
Running conversion: coo-read | ||
Running conversion: coo-csr | ||
Running conversion: csr-read | ||
Running conversion: csr-coo |
31 changes: 31 additions & 0 deletions
31
benchmark/test/reference/conversion_dcomplex.simple.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
[ | ||
{ | ||
"size": 100, | ||
"stencil": "7pt", | ||
"conversion": { | ||
"coo-read": { | ||
"time": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
}, | ||
"coo-csr": { | ||
"time": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
}, | ||
"csr-read": { | ||
"time": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
}, | ||
"csr-coo": { | ||
"time": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
} | ||
}, | ||
"rows": 125, | ||
"cols": 125, | ||
"nonzeros": 725 | ||
} | ||
] |
8 changes: 8 additions & 0 deletions
8
benchmark/test/reference/distributed_solver_dcomplex.simple.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Running on ReferenceExecutor | ||
Running with 2 warm iterations and 1 running iterations | ||
The random seed for right hand sides is 42 | ||
Running cg with 1000 iterations and residual goal of 1.000000e-06 | ||
The number of right hand sides is 1 | ||
Running test case stencil(100, 7pt, stencil) | ||
Matrix is of size (125, 125) | ||
Running solver: cg |
59 changes: 59 additions & 0 deletions
59
benchmark/test/reference/distributed_solver_dcomplex.simple.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
[ | ||
{ | ||
"size": 100, | ||
"stencil": "7pt", | ||
"comm_pattern": "stencil", | ||
"optimal": { | ||
"spmv": "csr-csr" | ||
}, | ||
"solver": { | ||
"cg": { | ||
"recurrent_residuals": [], | ||
"true_residuals": [], | ||
"implicit_residuals": [], | ||
"iteration_timestamps": [], | ||
"rhs_norm": 1.0, | ||
"generate": { | ||
"components": { | ||
"generate(<typename>)": 1.0, | ||
"free": 1.0, | ||
"overhead": 1.0 | ||
}, | ||
"time": 1.0 | ||
}, | ||
"apply": { | ||
"components": { | ||
"apply(<typename>)": 1.0, | ||
"iteration": 1.0, | ||
"allocate": 1.0, | ||
"dense::fill": 1.0, | ||
"cg::initialize": 1.0, | ||
"advanced_apply(<typename>)": 1.0, | ||
"dense::row_gather": 1.0, | ||
"csr::advanced_spmv": 1.0, | ||
"dense::compute_squared_norm2": 1.0, | ||
"dense::compute_sqrt": 1.0, | ||
"copy(<typename>)": 1.0, | ||
"dense::copy": 1.0, | ||
"dense::compute_conj_dot_dispatch": 1.0, | ||
"check(<typename>)": 1.0, | ||
"residual_norm::residual_norm": 1.0, | ||
"cg::step_1": 1.0, | ||
"csr::spmv": 1.0, | ||
"cg::step_2": 1.0, | ||
"free": 1.0, | ||
"overhead": 1.0 | ||
}, | ||
"iterations": 7, | ||
"time": 1.0 | ||
}, | ||
"preconditioner": {}, | ||
"residual_norm": 1.0, | ||
"repetitions": 1, | ||
"completed": true | ||
} | ||
}, | ||
"rows": 125, | ||
"cols": 125 | ||
} | ||
] |
8 changes: 8 additions & 0 deletions
8
benchmark/test/reference/multi_vector_distributed_dcomplex.simple.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Running on ReferenceExecutor | ||
Running with 2 warm iterations and 10 running iterations | ||
The random seed for right hand sides is 42 | ||
The operations are copy,axpy,scal | ||
Running test case n = 100 | ||
Running blas: copy | ||
Running blas: axpy | ||
Running blas: scal |
28 changes: 28 additions & 0 deletions
28
benchmark/test/reference/multi_vector_distributed_dcomplex.simple.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[ | ||
{ | ||
"n": 100, | ||
"blas": { | ||
"copy": { | ||
"time": 1.0, | ||
"flops": 1.0, | ||
"bandwidth": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
}, | ||
"axpy": { | ||
"time": 1.0, | ||
"flops": 1.0, | ||
"bandwidth": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
}, | ||
"scal": { | ||
"time": 1.0, | ||
"flops": 1.0, | ||
"bandwidth": 1.0, | ||
"repetitions": 10, | ||
"completed": true | ||
} | ||
} | ||
} | ||
] |
7 changes: 7 additions & 0 deletions
7
benchmark/test/reference/preconditioner_dcomplex.simple.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Running on ReferenceExecutor | ||
Running with 2 warm iterations and 10 running iterations | ||
The random seed for right hand sides is 42 | ||
Running with preconditioners: none | ||
Running test case stencil(100, 7pt) | ||
Matrix is of size (125, 125), 725 | ||
Running preconditioner: none |
32 changes: 32 additions & 0 deletions
32
benchmark/test/reference/preconditioner_dcomplex.simple.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[ | ||
{ | ||
"size": 100, | ||
"stencil": "7pt", | ||
"preconditioner": { | ||
"none": { | ||
"generate": { | ||
"components": { | ||
"generate(<typename>)": 1.0, | ||
"overhead": 1.0 | ||
}, | ||
"time": 1.0, | ||
"repetitions": 10 | ||
}, | ||
"apply": { | ||
"components": { | ||
"apply(<typename>)": 1.0, | ||
"copy(<typename>)": 1.0, | ||
"dense::copy": 1.0, | ||
"overhead": 1.0 | ||
}, | ||
"time": 1.0, | ||
"repetitions": 10 | ||
}, | ||
"completed": true | ||
} | ||
}, | ||
"rows": 125, | ||
"cols": 125, | ||
"nonzeros": 725 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Running on ReferenceExecutor | ||
Running with 2 warm iterations and 1 running iterations | ||
The random seed for right hand sides is 42 | ||
Running cg with 1000 iterations and residual goal of 1.000000e-06 | ||
The number of right hand sides is 1 | ||
Running test case stencil(100, 7pt) | ||
Matrix is of size (125, 125) | ||
Running solver: cg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
[ | ||
{ | ||
"size": 100, | ||
"stencil": "7pt", | ||
"optimal": { | ||
"spmv": "csr" | ||
}, | ||
"solver": { | ||
"cg": { | ||
"recurrent_residuals": [], | ||
"true_residuals": [], | ||
"implicit_residuals": [], | ||
"iteration_timestamps": [], | ||
"rhs_norm": 1.0, | ||
"generate": { | ||
"components": { | ||
"generate(<typename>)": 1.0, | ||
"free": 1.0, | ||
"overhead": 1.0 | ||
}, | ||
"time": 1.0 | ||
}, | ||
"apply": { | ||
"components": { | ||
"apply(<typename>)": 1.0, | ||
"iteration": 1.0, | ||
"allocate": 1.0, | ||
"dense::fill": 1.0, | ||
"cg::initialize": 1.0, | ||
"advanced_apply(<typename>)": 1.0, | ||
"csr::advanced_spmv": 1.0, | ||
"dense::compute_norm2_dispatch": 1.0, | ||
"copy(<typename>)": 1.0, | ||
"dense::copy": 1.0, | ||
"dense::compute_conj_dot_dispatch": 1.0, | ||
"check(<typename>)": 1.0, | ||
"residual_norm::residual_norm": 1.0, | ||
"cg::step_1": 1.0, | ||
"csr::spmv": 1.0, | ||
"cg::step_2": 1.0, | ||
"free": 1.0, | ||
"overhead": 1.0 | ||
}, | ||
"iterations": 7, | ||
"time": 1.0 | ||
}, | ||
"preconditioner": {}, | ||
"residual_norm": 1.0, | ||
"repetitions": 1, | ||
"completed": true | ||
} | ||
}, | ||
"rows": 125, | ||
"cols": 125 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Running on ReferenceExecutor | ||
Running with 2 warm iterations and 10 running iterations | ||
The random seed for right hand sides is 42 | ||
The operations are transpose | ||
Running test case stencil(100, 7pt) | ||
Matrix is of size (125, 125), 725 | ||
Running sparse_blas: transpose |
25 changes: 25 additions & 0 deletions
25
benchmark/test/reference/sparse_blas_dcomplex.simple.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
[ | ||
{ | ||
"size": 100, | ||
"stencil": "7pt", | ||
"sparse_blas": { | ||
"transpose": { | ||
"time": 1.0, | ||
"flops": 1.0, | ||
"bandwidth": 1.0, | ||
"repetitions": 10, | ||
"components": { | ||
"allocate": 1.0, | ||
"components::fill_array": 1.0, | ||
"csr::transpose": 1.0, | ||
"free": 1.0, | ||
"overhead": 1.0 | ||
}, | ||
"completed": true | ||
} | ||
}, | ||
"rows": 125, | ||
"cols": 125, | ||
"nonzeros": 725 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Running on ReferenceExecutor | ||
Running with 2 warm iterations and 10 running iterations | ||
The random seed for right hand sides is 42 | ||
The formats are coo | ||
The number of right hand sides is 1 | ||
Running test case stencil(100, 7pt) | ||
Matrix is of size (125, 125), 725 | ||
Running spmv: coo |
Oops, something went wrong.