pyqtgraph/doc/source
Martin Chase f2b4a15b2d
Performance enhancement: use CUDA in ImageItem (#1466)
* Add CLI args to video speed test for easier / automated benchmarking

* use a buffer-qimage so we can avoid allocing so much

this should improve performance under windows

* playing with numba

* oh, mins/maxes in the other order

* maybe put the cupy in here and see what happens

* pre-alloc for gpu and cpu

* handle possibility of not having cupy

* no numba in this branch

* organize imports

* name them after their use, not their expected device

* cupy.take does not support clip mode, so do it explicitly

* add CUDA option to the VideoSpeedTest

* rename private attr xp to _xp

* handle resizes at the last moment

* cupy is less accepting of lists as args

* or somehow range isn't allowed? what histogram is this?

* construct the array with python objects

* get the python value right away

* put LUT into cupy if needed

* docstring about cuda toolkit version

* better handling and display of missing cuda lib

* lint

* import need

* handle switching between cupy and numpy in a single ImageItem

* only use xp when necessary

we can now depend on numpy >= 1.17, which means __array_function__-implementing cupy can
seamlessly pass into numpy functions. the remaining uses of xp are for our functions which
need to allocate new data structures, an operation that has to be substrate-specific.

remove empty_cupy; just check if the import succeeded, instead.

* use an option to control use of cupy

* convert cupy.ceil array to int for easier mathing

* RawImageWidget gets to use the getCupy function now, too

* raise error to calm linters; rename for clarity

* Add Generated Template Files

* document things better

* cruft removal

* warnings to communicate when cupy is expected but somehow broken

* playing with settings to suss out timeout

* playing with more stuff to suss out timeout

* replace with empty list

* skip test_ExampleApp on linux+pyside2 only

Co-authored-by: Luke Campagnola <luke.campagnola@gmail.com>
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2021-01-19 21:26:24 -08:00
..
_static Wrap text in tables in docs. 2020-06-06 16:25:36 -07:00
3dgraphics Added note about opengl and vispy 2014-02-28 21:33:48 -05:00
flowchart Actually added flowchart documentation this time. 2013-01-07 12:11:23 -05:00
graphicsItems Merge pull request #1273 from edumur/develop 2020-10-12 09:24:10 -07:00
graphicsscene Reorganized directory structure to be more standard 2012-12-25 00:43:31 -05:00
images Renaming of GraphicsLayoutItem to GraphicsLayout 2014-02-08 17:27:15 +01:00
parametertree doc corrections 2014-02-28 21:09:03 -05:00
widgets Miscellaneous doc fixups (#1142) 2020-04-03 10:06:25 -07:00
3dgraphics.rst doc corrections 2014-02-28 21:09:03 -05:00
apireference.rst Miscellaneous doc fixups (#1142) 2020-04-03 10:06:25 -07:00
colormap.rst merged many new features from ACQ4 2013-02-10 17:45:16 -05:00
conf.py Add a docs build job to CI (#1328) 2020-10-15 08:43:23 -07:00
config_options.rst Performance enhancement: use CUDA in ImageItem (#1466) 2021-01-19 21:26:24 -08:00
dockarea.rst Miscellaneous doc fixups (#1142) 2020-04-03 10:06:25 -07:00
exporting.rst HDF5Exporter handling of ragged curves with tests (#1072) 2019-11-12 09:01:49 -08:00
functions.rst Improve ImageItem performance by scaling LUT instead of image when possible. 2016-01-30 00:10:25 -08:00
graphicswindow.rst Miscellaneous doc fixups (#1142) 2020-04-03 10:06:25 -07:00
how_to_use.rst MAINT: Post 0.11.1 release, drop py2, qt4 (#1473) 2020-12-22 10:25:06 -08:00
images.rst doc corrections 2014-02-28 21:09:03 -05:00
index.rst merged many new features from ACQ4 2013-02-10 17:45:16 -05:00
installation.rst MAINT: Post 0.11.1 release, drop py2, qt4 (#1473) 2020-12-22 10:25:06 -08:00
internals.rst Reorganized directory structure to be more standard 2012-12-25 00:43:31 -05:00
introduction.rst example app now works with Qt4 and Python2 again (#1302) 2020-10-19 11:51:12 -07:00
mouse_interaction.rst Fix typo 2019-07-10 10:38:04 +08:00
plotting.rst Miscellaneous doc fixups (#1142) 2020-04-03 10:06:25 -07:00
prototyping.rst doc corrections 2014-02-28 21:09:03 -05:00
qtcrashcourse.rst MAINT: Post 0.11.1 release, drop py2, qt4 (#1473) 2020-12-22 10:25:06 -08:00
region_of_interest.rst doc corrections 2014-02-28 21:09:03 -05:00
style.rst Reorganized directory structure to be more standard 2012-12-25 00:43:31 -05:00