6.2 LegionInvocationStoreint enable_function (); Enables the supplied function so that the LIS will accept method requests for it. Method requests for disabled functions are not accepted. High values for priority mean high priority. int any_ready(); Check to see if any method requests are ready. int any_ready_for_func() Check to see if any method requests for the given function are ready. UVaL_Reference<LegionWorkUnit> next_matched(); Returns the next work unit. The priority scheme is obeyed. UVaL_Reference<LegionWorkUnit> next_matched_for_func() Return the next work unit with the given function number. int set_priority (); Set the priority for the given function number. int insert(); Insert the provided work unit into the invocation store. This work unit may be a method request or it may be a result from a previous method invocation. UVaL_Reference<LegionWorkUnit> get_return_value(); Returns the work unit with the given tag and parameter number. Typically, this function is called by a higher layer (e.g. LegionProgramGraph ) which will unwrap the returned work unit to get the parameter inside. int release_return_value(); Deletes the work unit that matches the supplied tag/parameter_number pair. int release_all_return_values(); Deletes all return values from the invocation store.
legion@Virginia.edu
|