Contrôle des tasks et communication avec les workers
Contrôler l'exécution du code de tâche et la communication entre les workers pendant l'exécution des jobs et des blocs SPMD
Fonctions
Fonctions clés
addAttachedFiles | Joindre des fichiers ou des dossiers au pool parallèle |
spmdIndex | Index of current worker in spmd block (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
Classes importantes
parallel.Task | Access task properties and behaviors |
parallel.Worker | Access worker that ran task |
Commande MATLAB
Vous avez cliqué sur un lien qui correspond à cette commande MATLAB :
Pour exécuter la commande, saisissez-la dans la fenêtre de commande de MATLAB. Les navigateurs web ne supportent pas les commandes MATLAB.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- 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)