GPU: Difference between revisions
Jump to navigation
Jump to search
(+topology) |
m (→Modules of interest to be parallelized: emph) |
||
Line 24: | Line 24: | ||
The target version will be GRASS 7 (alias SVN trunk). | The target version will be GRASS 7 (alias SVN trunk). | ||
* {{cmd|v.in.ogr}} or underlying vector library functions to build topology and spatial index | * {{cmd|v.in.ogr}} or <u>underlying vector library functions to build topology and spatial index</u> | ||
* {{cmd|v.surf.rst}} | * {{cmd|v.surf.rst}} | ||
* {{cmd|v.vol.rst}} | * {{cmd|v.vol.rst}} |
Revision as of 00:13, 2 April 2010
Comments from the mailing list concerning GRASS and GPU parallelization:
- Discussion - GPU Parallelization (follow thread)
- Discussion - OpenCL Parallelization (follow thread)
- Comment
- Comment
- As I understand it, CUDA is 100% dependent on the closed-source binary driver from nVidia and works on their video cards alone. Which is fine for today for people with nVidia hardware using their binary video card driver. If nVidia decides in a couple of years to stop supporting CUDA, your old card, your specific OS or distro, your OS or distro version+cpu type, or if they go out of business or are bought/sold to another company who is not interested, any code based on it becomes useless. For this reason code written for an open platform such as OpenCL, even if less advanced, seems to have a brighter long-term future. -- HB
- Support for double precision floating point values must be retained for calculations which deal with positional data. For elevation data floating point precision may be enough.
Further reading
- LINUX Magazine March 10th, 2010
- "GP-GPUs: OpenCL Is Ready For The Heavy Lifting"
- http://www.linux-mag.com/id/7725
- See the "Parallelization" category listing at the bottom of this page.
Modules of interest to be parallelized
The target version will be GRASS 7 (alias SVN trunk).
- v.in.ogr or underlying vector library functions to build topology and spatial index
- v.surf.rst
- v.vol.rst
- (and/or the RST library in general)
- r.viewshed
- r.sun
- r.proj
- v.proj
- v.net.* ???
- raster library
- ...
r.mapcalc(already has pthreads support; probably I/O-bound)r.los(to be replaced by r.viewshed after last few bugs are fixed)i.rectify(internal code to be replaced by GDALwarp API)