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

  • 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 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
Vista de pagina 58
1 2 ... 54 55 56 57 58 59 60 61 62 63 64 ... 655 656

Comentarios a estos manuales

Sin comentarios