MATLAB PARALLEL COMPUTING TOOLBOX - S Guia do Utilizador Página 300

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 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.
Vista de página 299
1 2 ... 295 296 297 298 299 300 301 302 303 304 305 ... 655 656

Comentários a estes Manuais

Sem comentários