|
Legion Runtime
|
#include <mapping.h>
Public Attributes | |
| std::vector< PhysicalInstance > | valid_instances |
| std::vector< CollectiveView > | valid_collectives |
The map inline mapper call is responsible for handling the mapping of an inline mapping operation to a specific physical region. The mapper is given a set of valid physical instances in the 'valid_instances' field. The mapper must then specify a set of chosen instances to use for the inline mapping operation in 'chosen_instances'. Multiple instances can be selected for different fields but the runtime will use the first instance that it finds that in the vector that has space for each field. If this is a read-only inline mapping, the mapper can request that the runtime not track the validity of the instance(s) used for the inline mapping by setting 'track_valid_region' to 'false'. The 'copy_fill_priority' field will control the priorities of any copies or fills needed for the mapping.
The mapper can also request profiling information for any copies issued by filling in the 'profiling_requests' set. The mapper can control the priority with which this profiling information is returned to the mapper with 'profiling priority'.