Skip to content

Data Task Elision #49

@AntonReinhard

Description

@AntonReinhard

When possible, data tasks should be elided just before generating the function code. This means that instead of generating calls to identity for data tasks that do not move data between devices, the subsequent uses of the variable should be renamed. For scheduling on a single device, this would reduce the number of lines and variables in a function by about 50%, which should speedup compilation.

I'm not yet sure where the best place is to do this elision. The DAG itself should not be changed for this.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions