GPU: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
(remove obsoleted hardware note)
(r.mapcalc: already has pthreads support but only for parsing! i.rectify has been modernized. referring to G7 now)
Line 28: Line 28:
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 &rarr; <u>underlying vector library functions to build topology and spatial index</u> &larr;
* {{cmd|v.in.ogr|version=70}} or &rarr; <u>underlying vector library functions to build topology and spatial index</u> &larr;
* {{cmd|v.surf.rst}}
* {{cmd|v.surf.rst|version=70}}
* {{cmd|v.vol.rst}}
* {{cmd|v.vol.rst|version=70}}
** (''probably best to focus on the RST library first'')
** (''probably best to focus on the RST library first'')
* {{AddonCmd|r.viewshed}}
* {{cmd|r.viewshed|version=70}}
* {{cmd|v.surf.bspline}}
* {{cmd|v.surf.bspline|version=70}}
* {{cmd|r.sun}}
* {{cmd|r.sun|version=70}}
* {{cmd|r.proj}}
* {{cmd|r.proj|version=70}}
* {{cmd|v.proj}}
* {{cmd|v.proj|version=70}}
* {{cmd|v.net}}.* ???
* {{cmd|v.net|version=70}}.* ???
* raster library (typically I/O-bound)
* raster library (typically I/O-bound)
* {{cmd|i.rectify|version=70}}
* ...
* ...
* <strike>{{cmd|r.mapcalc}}</strike> (already has pthreads support; probably I/O-bound)
* <strike>{{cmd|r.mapcalc|version=70}}</strike> (already has pthreads support (but only for parsing!!); probably I/O-bound)
* <strike>{{cmd|r.los}}</strike> (to be replaced by r.viewshed after last few bugs are fixed)
* <strike>{{cmd|i.rectify}}</strike> (internal code to be replaced by GDALwarp API; note that for the polynomial calcs it's partly the same exact code)




[[Category: Parallelization]]
[[Category: Parallelization]]
<math>Insert formula here</math>
<math>Insert formula here</math>

Revision as of 20:15, 30 January 2013

Comments from the mailing list concerning GRASS and GPU parallelization:

  • 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 and radiometric data floating point precision may be enough.

Further reading

  • Steinbach, M., Hemmerling, R., 2011. Accelerating batch processing of spatial raster analysis using GPU. Computers & Geosciences. DOI
  • 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).