Contrôle des tasks et communication entre les workers
Fonctions
addAttachedFiles | Joindre des fichiers ou des dossiers au pool parallèle |
spmdIndex | Index du worker actuel dans le bloc spmd (depuis R2022b) |
spmdSize | Number of workers running current spmd block (depuis R2022b) |
spmdCat | Concatenate arrays on spmd workers (depuis R2022b) |
spmdReduce | Reduce arrays on spmd workers (depuis R2022b) |
spmdPlus | Add arrays from workers in spmd block (depuis R2022b) |
spmdBarrier | Synchronize workers in spmd block (depuis R2022b) |
spmdBroadcast | Send data to all workers in spmd block (depuis R2022b) |
spmdProbe | Determine whether data is available to current worker in spmd
block (depuis R2022b) |
spmdReceive | Receive data from another worker in spmd block (depuis R2022b) |
spmdSend | Send data to another worker in spmd block (depuis R2022b) |
spmdSendReceive | Simultaneously send and receive data on worker in spmd
block (depuis R2022b) |
getCurrentJob | Get job object from a worker running a job |
getCurrentCluster | Get cluster object from a worker in a cluster |
getCurrentTask | Get task object from a worker running a task |
getCurrentWorker | Get worker object from current worker |
getAttachedFilesFolder | Identify folder on a worker where attached files are copied to |
updateAttachedFiles | Update attached files or folders on parallel pool |
Classes
parallel.Task | Access task properties and behaviors |
parallel.Worker | Accéder au worker qui a exécuté la task |
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)