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

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 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 página 478
1 2 ... 474 475 476 477 478 479 480 481 482 483 484 ... 655 656

Comentários a estes Manuais

Sem comentários