ComputationalRadiationPhysics / redGrapes

Resource-based, Declarative task-Graphs for Parallel, Event-driven Scheduling :grapes:
https://redgrapes.rtfd.io
Mozilla Public License 2.0
20 stars 5 forks source link

Resource Validity Contexts #9

Closed michaelsippel closed 4 years ago

michaelsippel commented 5 years ago

If a resource gets created inside a functor, the resource should be stored as sub-resource in the current ResourceUser to be implied as superset.

Otherwise a runtime error would be thrown because the functor spawns refinements whose access-list is no subset.