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
396ac0278a
Added CLBLAST_VERSION_MAJOR/MINOR/PATCH defines in headers to store version numbering
2020-05-12 14:43:25 +02:00
Cedric Nugteren
b94e81af10
Added pyclblast bindings for the 3 batched routines
2020-05-10 12:26:25 +02:00
Cedric Nugteren
5f97d64505
Update API documentation
2020-03-08 11:29:47 +01:00
Cedric Nugteren
e0541c41a1
Added fp32 to fp16 conversion function in Python to make haxpy example work
2019-01-23 19:52:01 +01:00
Cedric Nugteren
3937efdcda
Added experimental support for half-precision in pyclblast
2019-01-22 21:13:41 +01:00
Cedric Nugteren
d929525039
Added support for the convgemm tuner in the tuner database
2018-12-31 18:49:12 +01:00
Koichi Akabe
032e3b0cc0
Add kernel_mode option to im2col, col2im, and convgemm functions
2018-11-12 10:12:07 +09:00
Cedric Nugteren
6f67525ea6
Changed col2im to append to the existing im-buffer
2018-11-07 19:45:07 +01:00
Cedric Nugteren
d45911b61d
Added groundwork for col2im algorithm plus first non-working version of kernel and test
2018-10-23 20:52:25 +02:00
Cedric Nugteren
83ba3d4b7b
Merge branch 'master' into convgemm_multi_kernel
2018-09-16 20:01:18 +02:00
Cedric Nugteren
fe639455bd
Added an option to compile the Netlib API with static OpenCL device and context
2018-08-05 21:12:39 +02:00
Cedric Nugteren
2dd539f911
Removed complex numbers support for CONVGEMM
2018-07-29 10:37:14 +02:00
Cedric Nugteren
5903820ba2
Merge branch 'master' into CLBlast-267-convgemm
2018-07-29 10:26:34 +02:00
Cedric Nugteren
c459582c4f
Added tuning results for HD Graphics 6000 Broadwell GT3
2018-07-13 21:05:43 +02:00
Cedric Nugteren
a4119531ee
Updated the documentation for convgemm to include data layout (NCHW)
2018-05-09 17:46:27 +02:00
Cedric Nugteren
2d1f6ba7fe
Added convgemm skeleton, test infrastructure, and first reference implementation
2018-05-06 11:35:34 +02:00
Cedric Nugteren
2776d76176
Added interface of batched convolution as GEMM
2018-05-05 14:06:33 +02:00
Cedric Nugteren
f14e6f87d2
Updated tuning results for the Skylake ULT GT2 GPU with the new kernel
2018-04-15 11:45:45 +02:00
Cedric Nugteren
f6a48f05ed
Made it possible to add tuning parameters to the database using the script
2018-04-10 21:24:36 +02:00
Cedric Nugteren
3fbbb81137
Fixed a bug in the compression part of the database script
2018-04-10 21:18:11 +02:00
Cedric Nugteren
77ba11f686
Extended the maximum number of tuning parameters from 14 to 16
2018-04-08 18:12:54 +02:00
Cedric Nugteren
cf7965dc68
Fixed a python3 import error issue with the database script
2018-04-07 17:40:43 +02:00
kodonell
173a7eb928
merged
2018-03-27 08:55:39 +13:00
kodonell
d16f2d1317
got the generator thing working
2018-03-27 08:45:54 +13:00
Cedric Nugteren
934893972e
Merge pull request #262 from CNugteren/CLBlast-237-tuning-api
...
CLBlast #237 : Tuning API
2018-03-11 15:38:33 +01:00
Cedric Nugteren
0dd1bc6f48
Made benchmarking script also work for complex numbers
2018-03-10 17:03:57 +01:00
Cedric Nugteren
54bbc99273
Updated the documentation for the tuner API
2018-03-10 14:52:40 +01:00
Cedric Nugteren
3d2ef9331b
Fixed a few things for the new tuning API
2018-03-10 14:35:11 +01:00
Cedric Nugteren
bff64917bd
Fixed some small issues regarding PR#253
2018-03-03 10:43:12 +01:00
sivagnanamn
1433dc67f1
Added C API for getting GEMM temp buffer size
2018-03-03 03:00:17 +09:00
Cedric Nugteren
13dc26e63d
Generated PyCLBlast docstrings
2018-02-25 15:30:57 +01:00
Cedric Nugteren
6710c60935
Some style improvements in the pyclblast code generator
2018-02-25 14:51:58 +01:00
Cedric Nugteren
9699169cdf
Added API documentation for two missing C++ functions
2018-02-25 14:44:22 +01:00
Cedric Nugteren
e784df0230
Renamed the API documentation
2018-02-24 20:46:44 +01:00
Kirill Mavreshko
e300ad3292
Fixed duplication of parameter descriptions by the doc generator
2018-02-21 14:18:45 +05:00
Cedric Nugteren
ce5e2a1e00
Prepared PyCLBlast for release as a package on PyPi
2018-02-18 18:01:02 +01:00
Cedric Nugteren
a66e24a009
Added all other level 1/2/3 routines to pyclblast
2018-02-18 17:34:10 +01:00
Cedric Nugteren
e1bfb40827
Added GEMM to the Python wrapper
2018-02-18 16:33:20 +01:00
Cedric Nugteren
eb85f6b514
First agenerated version (clblastXswap only for now) of the pyclblast wrapper
2018-02-14 20:50:47 +01:00
Cedric Nugteren
ae66782eab
Fixed the XHAD documentation
2018-02-02 21:12:07 +01:00
Cedric Nugteren
ef5008f5e4
Created the API and stubs for the HAD (hadamard-product) routines
2018-01-31 20:41:02 +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