-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Labels
Description
I'm not sure whether this is related to issue #11 but it would be good to provide an easier interface to handle existing C-level data in python, in particular for regions, but possibly other objects, too.
In particular, if we have a handle to a region in C, it's difficult to create a corresponding legate.core.legion.Region object:
- I believe there is no way right now to get the fields of a field space (this is simply lacking from Legion's C interface AFAICT)
- The
legate.core.legion.FieldSpaceclass would have to support being created with a handle, like theRegionandIndexSpaceclasses atm
Without this, I'm not sure if/how you can use the __legate_data_interface__, unless you create the underlying C objects on the python side.
Reactions are currently unavailable