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

#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
 

Detailed Description


Postmap Task

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.


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