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

  • 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 478
gputimeit
11-135
t1 = gputimeit(f,1)
0.2933
More About
Tips
gputimeit is preferable to timeit for functions that use the GPU, because it ensures
that all operations on the GPU have finished before recording the time and compensates
for the overhead. For operations that do not use a GPU, timeit offers greater precision.
Note the following limitations:
The function F should not call tic or toc.
You cannot use tic and toc to measure the execution time of gputimeit itself.
See Also
gpuArray | wait
Vue de la page 478
1 2 ... 474 475 476 477 478 479 480 481 482 483 484 ... 655 656

Commentaires sur ces manuels

Pas de commentaire