|
Legion Runtime
|
#include <mapping.h>
Public Attributes | |
| std::set< Processor > | blacklist |
Control over stealing in Legion is explicitly given to the mappers. The select_steal_targets mapper call is invoked whenever the select_tasks_to_map call is made for a mapper and asks the mapper if it would like to attempt to steal from any other processors in the machine. The mapper is provided with a list of 'blacklist' processors which are disallowed because of previous stealing failures (the runtime automatically manages this blacklist and remove processors when it receives notification that they have additional work available for stealing). The mapper can put any set of processors in the potential 'targets' and steal requests will be sent. Note that any targets also contained in the blacklist will be ignored.