MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 300

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 299
9 GPU Computing
9-42
Execution time on GPU = 0.0020537
Maximum absolute error = 1.1374e-14
In conclusion, vectorizing the code helps both the CPU and GPU versions to run faster.
However, vectorization helps the GPU version much more than the CPU. The improved
CPU version is nearly twice as fast as the original; the improved GPU version is 13 times
faster than the original. The GPU code went from being 40% slower than the CPU in the
original version, to about five times faster in the revised version.
Seitenansicht 299
1 2 ... 295 296 297 298 299 300 301 302 303 304 305 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare