Skip to content

Commit

Permalink
test ParamInt ranges using nb
Browse files Browse the repository at this point in the history
  • Loading branch information
mgates3 committed Jun 21, 2023
1 parent e203b01 commit fa64fe0
Show file tree
Hide file tree
Showing 31 changed files with 335 additions and 303 deletions.
1 change: 1 addition & 0 deletions test/ref/003.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ Parameters for sort:

Parameters that take comma-separated list of values and may be repeated:
--type One of: s, r32, single, float; d, r64, double; c, c32, complex<float>; z, c64, complex<double>; i, int, integer; default d
--nb block size; default 32
--dim m x n x k dimensions
--alpha alpha value
1 change: 1 addition & 0 deletions test/ref/004.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ Parameters for sort:

Parameters that take comma-separated list of values and may be repeated:
--type One of: s, r32, single, float; d, r64, double; c, c32, complex<float>; z, c64, complex<double>; i, int, integer; default d
--nb block size; default 32
--dim m x n x k dimensions
--alpha alpha value
14 changes: 7 additions & 7 deletions test/ref/005.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
TestSweeper version NA, id NA
input: ./tester sort
SLATE SLATE LAPACK Reference LAPACK
type m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
d 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
d 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
d 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
d 400 400 400 3.14+1.41i 4.9382e-15 --------- --------- --------- --------- pass
d 500 500 500 3.14+1.41i 6.1728e-15 --------- --------- --------- --------- pass
SLATE SLATE LAPACK Reference LAPACK
type nb m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
d 32 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
d 32 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
d 32 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
d 32 400 400 400 3.14+1.41i 4.9382e-15 --------- --------- --------- --------- pass
d 32 500 500 500 3.14+1.41i 6.1728e-15 --------- --------- --------- --------- pass
All tests passed.
24 changes: 12 additions & 12 deletions test/ref/006.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
TestSweeper version NA, id NA
input: ./tester --dim '100:1000:100' sort
SLATE SLATE LAPACK Reference LAPACK
type m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
d 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
d 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
d 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
d 400 400 400 3.14+1.41i 4.9382e-15 --------- --------- --------- --------- pass
d 500 500 500 3.14+1.41i 6.1728e-15 --------- --------- --------- --------- pass
d 600 600 600 3.14+1.41i 7.4074e-15 --------- --------- --------- --------- pass
d 700 700 700 3.14+1.41i 8.6419e-15 --------- --------- --------- --------- pass
d 800 800 800 3.14+1.41i 9.8765e-15 --------- --------- --------- --------- pass
d 900 900 900 3.14+1.41i 1.1111e-14 --------- --------- --------- --------- FAILED
d 1000 1000 1000 3.14+1.41i 1.2346e-14 --------- --------- --------- --------- FAILED
SLATE SLATE LAPACK Reference LAPACK
type nb m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
d 32 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
d 32 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
d 32 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
d 32 400 400 400 3.14+1.41i 4.9382e-15 --------- --------- --------- --------- pass
d 32 500 500 500 3.14+1.41i 6.1728e-15 --------- --------- --------- --------- pass
d 32 600 600 600 3.14+1.41i 7.4074e-15 --------- --------- --------- --------- pass
d 32 700 700 700 3.14+1.41i 8.6419e-15 --------- --------- --------- --------- pass
d 32 800 800 800 3.14+1.41i 9.8765e-15 --------- --------- --------- --------- pass
d 32 900 900 900 3.14+1.41i 1.1111e-14 --------- --------- --------- --------- FAILED
d 32 1000 1000 1000 3.14+1.41i 1.2346e-14 --------- --------- --------- --------- FAILED
2 tests FAILED.
24 changes: 12 additions & 12 deletions test/ref/100.txt
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
TestSweeper version NA, id NA
input: ./tester --type 's,d' sort
SLATE SLATE LAPACK Reference LAPACK
type m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
s 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
s 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
s 400 400 400 3.14+1.41i 4.9382e-15 --------- --------- --------- --------- pass
s 500 500 500 3.14+1.41i 6.1728e-15 --------- --------- --------- --------- pass
SLATE SLATE LAPACK Reference LAPACK
type nb m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 32 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
s 32 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
s 32 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
s 32 400 400 400 3.14+1.41i 4.9382e-15 --------- --------- --------- --------- pass
s 32 500 500 500 3.14+1.41i 6.1728e-15 --------- --------- --------- --------- pass

d 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
d 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
d 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
d 400 400 400 3.14+1.41i 4.9382e-15 --------- --------- --------- --------- pass
d 500 500 500 3.14+1.41i 6.1728e-15 --------- --------- --------- --------- pass
d 32 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
d 32 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
d 32 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
d 32 400 400 400 3.14+1.41i 4.9382e-15 --------- --------- --------- --------- pass
d 32 500 500 500 3.14+1.41i 6.1728e-15 --------- --------- --------- --------- pass
All tests passed.
1 change: 1 addition & 0 deletions test/ref/101.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@ Parameters for sort:

Parameters that take comma-separated list of values and may be repeated:
--type One of: s, r32, single, float; d, r64, double; c, c32, complex<float>; z, c64, complex<double>; i, int, integer; default d
--nb block size; default 32
--dim m x n x k dimensions
--alpha alpha value
10 changes: 5 additions & 5 deletions test/ref/200.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
TestSweeper version NA, id NA
input: ./tester --type s --dim '100:300:100' sort2
SLATE SLATE LAPACK Reference LAPACK
type m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
s 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
s 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
SLATE SLATE LAPACK Reference LAPACK
type nb m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 32 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
s 32 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
s 32 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
All tests passed.
10 changes: 5 additions & 5 deletions test/ref/201.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
TestSweeper version NA, id NA
input: ./tester --type s --dim '300:100:-100' sort2
SLATE SLATE LAPACK Reference LAPACK
type m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
s 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
s 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
SLATE SLATE LAPACK Reference LAPACK
type nb m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 32 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
s 32 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
s 32 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
All tests passed.
6 changes: 3 additions & 3 deletions test/ref/202.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
TestSweeper version NA, id NA
input: ./tester --type s --dim 1234 sort2
SLATE SLATE LAPACK Reference LAPACK
type m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 1234 1234 1234 3.14+1.41i 1.5234e-14 --------- --------- --------- --------- pass
SLATE SLATE LAPACK Reference LAPACK
type nb m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 32 1234 1234 1234 3.14+1.41i 1.5234e-14 --------- --------- --------- --------- pass
All tests passed.
12 changes: 6 additions & 6 deletions test/ref/203.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
TestSweeper version NA, id NA
input: ./tester --type s --dim 1234 --dim '100:300:100' sort2
SLATE SLATE LAPACK Reference LAPACK
type m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 1234 1234 1234 3.14+1.41i 1.5234e-14 --------- --------- --------- --------- pass
s 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
s 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
s 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
SLATE SLATE LAPACK Reference LAPACK
type nb m n k alpha error time (ms) gflop/s time (ms) reference gflop/s status
s 32 1234 1234 1234 3.14+1.41i 1.5234e-14 --------- --------- --------- --------- pass
s 32 100 100 100 3.14+1.41i 1.2346e-15 --------- --------- --------- --------- pass
s 32 200 200 200 3.14+1.41i 2.4691e-15 --------- --------- --------- --------- pass
s 32 300 300 300 3.14+1.41i 3.7037e-15 --------- --------- --------- --------- pass
All tests passed.
Loading

0 comments on commit fa64fe0

Please sign in to comment.