Legion Runtime
Loading...
Searching...
No Matches
Public Attributes | List of all members
Legion::Mapping::Mapper::PremapTaskInput Struct Reference

#include <mapping.h>

Public Attributes

std::map< unsigned, std::vector< PhysicalInstance > > valid_instances
 

Detailed Description


Premap Task (should really be called map_index_task)

This mapper call is only invoked for index space task launches. It will invoked if at least one of the following two conditions occur:

  1. The task is performing a reduction of its point task futures down to a single future value as an output, in which case the mapper needs to select one or more locations for the futures to go.
  2. (No longer applies)

In the case of (1), the mapper can optionally choose to fill in the 'reduction_futures' vector with one or more memories in which to create a copy of the reduced future output. If multiple such destinations are specified, the runtime will construct a broadcast tree to make the copies efficiently. We allo the 'reduction_instances' data structure to be left empty for backwards compatibility. In this case the runtime will create a single copy of the future in the local system memory.


The documentation for this struct was generated from the following file: