CPC G06F 9/4881 (2013.01) [G06F 8/451 (2013.01); G06F 9/544 (2013.01)] | 17 Claims |
1. A machine-implemented method, comprising:
receiving a multi-layer adaptive data flow (ML-ADF) graph specifying an application for execution on a data processing array (DPA) that comprises data processing elements (DPEs) and local, shared, and external memories;
folding the ML-ADF graph onto the DPA to provide an overlay graph, wherein the overlay graph represents the DPEs and the local and shared memories, and wherein resources of the DPA are temporally shared amongst multiple layers of the ML-ADF graph;
constructing DPE schedules for compute nodes of the ML-ADF graph and a data transfer schedule corresponding to shared-data and external-data nodes of the ML-ADF graph in order to coordinate runtime execution of the layers of the ML-ADF graph by the DPEs and sharing of data amongst the layers of the ML-ADF graph through the shared and external memories;
generating DPE code for the DPEs based on the respective DPE schedules; and
generating controller code for controllers and data movers of the local, shared and external memories based on the data transfer schedule.
|