|
Legion Runtime
|
#include <mapping.h>
Public Attributes | |
| TunableID | tunable_id |
| MappingTagID | mapping_tag |
| std::vector< Future > | futures |
| const void * | args |
| size_t | size |
The select_tunable_value mapper call allows mappers to control decisions about tunable values for a given task execution. The mapper is told of the tunable ID and presented with the mapping tag for the operation. It then must then allocate a buffer and put the result in the buffer. Alternatively, it can also tell the runtime that it does not own the result by setting the take_ownership flag to false indicating that the runtime should make its own copy of the resulting buffer. If the resulting future expects the future to be packed, it is the responsibility of the mapper to pack it. The utility method 'pack_tunable' will allocate the buffer and do any necessary packing for an arbitrary type.