MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 647

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 646
wait (GPUDevice)
11-303
wait (GPUDevice)
Wait for GPU calculation to complete
Syntax
wait(gpudev)
Description
wait(gpudev) blocks execution in MATLAB until the GPU device identified by the
GPUDevice object gpudev completes its calculations. This can be used before calls to
toc when timing GPU code that does not gather results back to the workspace. When
gathering results from a GPU, MATLAB automatically waits until all GPU calculations
are complete, so you do not need to explicitly call wait in that situation.
See Also
gather | gpuArray | gpuDevice | gputimeit
Related Examples
“Measure Performance on the GPU”
Seitenansicht 646
1 2 ... 642 643 644 645 646 647 648 649 650 651 652 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare