Legate.jl
Loading...
Searching...
No Matches
legate_wrapper::tasking Namespace Reference

Functions

Constraint align (const Variable &a, const Variable &b)
 Align two variables.
AutoTask create_auto_task (Runtime *rt, Library lib, LocalTaskID id)
 Create an auto task in the runtime.
ManualTask create_manual_task (Runtime *rt, Library lib, LocalTaskID id, const Domain &domain)
 Create an manual task in the runtime.
Domain domain_from_shape (const Shape &shape)
 Create a Domain from a Shape.
auto submit_auto_task (Runtime *rt, AutoTask &task)
 Submit an auto task to the runtime.
auto submit_manual_task (Runtime *rt, ManualTask &task)
 Submit a manual task to the runtime.

Function Documentation

◆ align()

Constraint legate_wrapper::tasking::align ( const Variable & a,
const Variable & b )
inline

Align two variables.

Returns a new variable representing the alignment of a and b.

◆ create_auto_task()

AutoTask legate_wrapper::tasking::create_auto_task ( Runtime * rt,
Library lib,
LocalTaskID id )
inline

Create an auto task in the runtime.

Parameters
rtPointer to the Runtime instance.
libThe Library to use for the task.
idLocalTaskID for the new task.
Returns
An AutoTask instance.

◆ create_manual_task()

ManualTask legate_wrapper::tasking::create_manual_task ( Runtime * rt,
Library lib,
LocalTaskID id,
const Domain & domain )
inline

Create an manual task in the runtime.

Parameters
rtPointer to the Runtime instance.
libThe Library to use for the task.
idLocalTaskID for the new task.
domainThe Domain for the manual task.
Returns
A ManualTask instance.

◆ domain_from_shape()

Domain legate_wrapper::tasking::domain_from_shape ( const Shape & shape)
inline

Create a Domain from a Shape.

Parameters
shapeThe shape.
Returns
A Domain instance.

◆ submit_auto_task()

auto legate_wrapper::tasking::submit_auto_task ( Runtime * rt,
AutoTask & task )
inline

Submit an auto task to the runtime.

Parameters
rtPointer to the Runtime instance.
taskThe AutoTask to submit.

◆ submit_manual_task()

auto legate_wrapper::tasking::submit_manual_task ( Runtime * rt,
ManualTask & task )
inline

Submit a manual task to the runtime.

Parameters
rtPointer to the Runtime instance.
taskThe ManualTask to submit.