6.2 LegionInvocationStore

int enable_function ();
Parameters: int func_num
int priority

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();
Parameters: None

Check to see if any method requests are ready.

int any_ready_for_func()
Parameters: int func_num;

Check to see if any method requests for the given function are ready.

UVaL_Reference<LegionWorkUnit> next_matched();
Parameters: None

Returns the next work unit. The priority scheme is obeyed.

UVaL_Reference<LegionWorkUnit> next_matched_for_func()
Parameters: int func_num;

Return the next work unit with the given function number.

int set_priority ();
Parameters: int func_num
int priority

Set the priority for the given function number.

int insert();
Parameters: UVaL_Reference<LegionWorkUnit> new_work_unit

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();
Parameters: UVaL_Reference<LegionComputationTag> tag
int parameter_number

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();
Parameters: UVaL_Reference<LegionComputationTag> tag
int parameter_number

Deletes the work unit that matches the supplied tag/parameter_number pair.

int release_all_return_values();
Parameters: None

Deletes all return values from the invocation store.

Directory of Legion 1.7 Manuals
[Home] [General] [Documentation] [Software]
[Testbeds] [Et Cetera] [Map/Search]

Free JavaScripts provided by The JavaScript Source

legion@Virginia.edu
http://legion.virginia.edu/