MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 300

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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.
Vue de la page 299
1 2 ... 295 296 297 298 299 300 301 302 303 304 305 ... 655 656

Commentaires sur ces manuels

Pas de commentaire