MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 59

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 58
Broadcast Variables
2-31
Broadcast Variables
A broadcast variable is any variable other than the loop variable or a sliced variable
that is not affected by an assignment inside the loop. At the start of a parfor-loop, the
values of any broadcast variables are sent to all workers. Although this type of variable
can be useful or even essential, broadcast variables that are large can cause a lot of
communication between client and workers. In some cases it might be more efficient to
use temporary variables for this purpose, creating and assigning them inside the loop.
More About
“Classification of Variables in parfor-Loops” on page 2-23
Zobrazit stránku 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 655 656

Komentáře k této Příručce

Žádné komentáře