Witold Baryluk
ea199c3469
Allow single graph / subplot on plot
...
`plt.subplots` tries to be special, and return array or not-array depending on a number of subplots.
It is not actually helpful, and IMHO bad design.
Make it always `ndarray`.
The `and not type(axes) is np.ndarray`, is just in case matplotlib decides to make their behavior more uniform. For now work around it.
Also, no need for `ndarray.flat` really.
Confirmed to work with existing benchmarks (i.e. rows=2, cols=3), and with single graphs (rows=1, cols=1).
2020-10-05 12:11:17 +00:00
Witold Baryluk
eb967a0943
Fix a typo in benchmark when running fp 16 vs 32
...
The intention here was to limit the iteration range to common indexes only.
Fix that.
2020-10-04 10:22:00 +00:00
Cedric Nugteren
615e5f0ff2
Merge pull request #397 from baryluk/patch-1
...
Fix Python SyntaxWarning
2020-10-04 11:07:56 +02:00
Witold Baryluk
2dfe7c5c23
Fix --load_from_disk argument help message
2020-10-04 08:17:16 +00:00
Witold Baryluk
45fd085395
Fix Python SyntaxWarning
...
There is no guarantee that all empty strings objects are the same or share object with `""` literal.
2020-10-04 08:12:50 +00:00
Cedric Nugteren
0abd62a0e7
Fix a Python 3 bug in the benchmark script
2020-10-02 20:32:58 +02:00
Cedric Nugteren
0dd1bc6f48
Made benchmarking script also work for complex numbers
2018-03-10 17:03:57 +01:00
Cedric Nugteren
180532ea39
Some fixes to the benchmark scripts
2018-01-27 20:06:13 +01:00
Cedric Nugteren
ada762f668
Minor displaying improvements to the graph plotting scripts
2018-01-26 20:38:11 +01:00
Cedric Nugteren
3651b51664
Improved the benchmark scripts; added gemmstridedbatched benchmark
2018-01-25 21:24:18 +01:00
Cedric Nugteren
b35e3d1e53
Small improvements to benchmarking for cuBLAS
2018-01-14 19:50:27 +01:00
Cedric Nugteren
b4c8e1d9a5
Made plotting script more flexible: extra argument to set the comparison library
2017-12-31 16:02:46 +01:00
Cedric Nugteren
3948cd6551
Made plotting script more resilient to missing data
2017-12-20 20:12:02 +01:00
Grigori Fursin
35e2e6c3a4
changing "wb" to "w" when saving json file (text mode) - compatibility for Python 3
2017-05-24 15:08:34 +02:00
Cedric Nugteren
97955fc221
Minor naming fixes to the benchmark script
2017-05-11 22:12:16 -07:00
Cedric Nugteren
cc9ad7b33b
Removed the words SUMMARY from the title of the benchmark script when benchmarking the summary
2017-04-21 21:34:44 +02:00
Cedric Nugteren
4d34083039
Updated the settings for the batched benchmarks
2017-04-20 22:19:29 +02:00
Cedric Nugteren
3e2faa5db8
Set proper settings for the benchmarks of batched routines
2017-04-16 20:40:15 +02:00
Cedric Nugteren
063ef729e1
Added settings for benchmarking batched routines
2017-04-16 16:55:49 +02:00
Cedric Nugteren
c88ad94338
Added a benchmark-all script to run multiple benchmarks automatically
2017-04-14 22:02:47 +02:00
Cedric Nugteren
5203402c41
Tuned the num-runs settings for the benchmarks
2017-04-14 21:22:02 +02:00
Cedric Nugteren
56b2f46fbf
Added output-folder for benchmarking and removed the requirement on X
2017-04-14 20:32:28 +02:00
Cedric Nugteren
8833ae51be
Made the number of runs a benchmark-specific setting in the benchmark scripts
2017-04-14 20:16:51 +02:00
Cedric Nugteren
0f96e9d2f9
Various tweaks to the new benchmark script
2017-04-02 14:53:55 +02:00
Cedric Nugteren
1ee71fdc80
Tuned the plots for a tight-layout for in papers and presentations
2017-04-01 14:00:46 +02:00
Cedric Nugteren
fa5c4b00b7
Replaced the R graph scripts with Python/Matplotlib benchmark scripts
2017-03-26 15:36:34 +02:00