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

  • 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 326
parallel.Future
10-27
parallel.Future
Request function execution on parallel pool workers
Constructors
parfeval, parfevalOnAll
Container Hierarchy
Parent parallel.Pool.FevalQueue
Types
The following table describes the available types of future objects.
Future Type Description
parallel.FevalFuture Single parfeval future instance
parallel.FevalOnAllFuture parfevalOnAll future instance
Description
A parallel.FevalFuture represents a single instance of a function to be executed on a
worker in a parallel pool. It is created when you call the parfeval function. To create
multiple FevalFutures, call parfeval multiple times; for example, you can create a
vector of FevalFutures in a for-loop.
An FevalOnAllFuture represents a function to be executed on every worker in a parallel
pool. It is created when you call the parfevalOnAll function.
Methods
Future objects have the following methods. Note that some exist only for
parallel.FevalFuture objects, not parallel.FevalOnAllFuture objects.
Zobrazit stránku 326
1 2 ... 322 323 324 325 326 327 328 329 330 331 332 ... 655 656

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

Žádné komentáře