Reinforcement Learning Approach for Mapping Applications to Dataflow-Based Coarse-Grained Reconfigurable Array
ACAndre Xian Ming ChangParth KhopkarBashar Romanous
Abhishek ChaurasiaPatrick EstepSkyler WindhDoug VaneskoSheik Dawood Beer Mohideen
Eugenio Culurciello ACAndre Xian Ming Chang
Parth Khopkar
Bashar Romanous

Abhishek Chaurasia
Patrick Estep
Skyler Windh
Doug Vanesko
Sheik Dawood Beer Mohideen

Eugenio Culurciello
+9
To automate instruction scheduling on the Streaming Engine (SE), a coarse-grained reconfigurable array, the authors propose a reinforcement learning framework that uses a Global Graph Attention (GGA) module and output masking of invalid placements. The framework models the program as Synchronous Data Flow graphs and employs Proximal Policy Optimization to train a model that places operations into SE tiles, guided by a reward function that captures device constraints. The GGA module combines a graph neural network to embed the graphs with an attention mechanism for sequential placement. Results show that GGA finds 10% better schedules (by total clock cycles) and masking improves reward by 20%.

arXiv ·
· May 26, 2022