MATLAB PARALLEL COMPUTING TOOLBOX - S Guía de usuario Pagina 479

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 656
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 478
1 2 ... 474 475 476 477 478 479 480 481 482 483 484 ... 655 656

Comentarios a estos manuales

Sin comentarios