|
Legion Runtime
|
#include <mapping.h>
Public Attributes | |
| std::vector< std::vector< PhysicalInstance > > | mapped_regions |
| std::vector< std::vector< PhysicalInstance > > | valid_instances |
| std::vector< std::vector< CollectiveView > > | valid_collectives |
This call will only be invoked if the postmap_task field was set in the 'select_task_options' call. The postmap task call gives the mapper the option to create additional copies of the output in different memories. The mapper is told about the mapped regions for each of the different region requirements for the task in 'mapped_regions', as well of any currently valid physical instances for those regions in the set of 'valid_instances' for each region requirement. The mapper can then specify one or more new instances to update with the output from the task for each region requirement. Unlike map_task where the chosen_instances are filtered so that only the first instance which has space for a given field is updated, each instances specified in 'chosen_instances' will be updated for any fields of the original region requirement for which they have sufficient space.