AUTOGEN: automatic discovery of cache-oblivious parallel recursive algorithms for solving dynamic programs
Author(s)
Chowdhury, Rezaul; Ganapathi, Pramod; Tithi, Jesmin Jahan; Tang, Yuan; Bachmeier, Charles A.; Kuszmaul, Bradley C; Leiserson, Charles E; Solar Lezama, Armando; ... Show more Show less
DownloadLeiserson_Autogen.pdf (1.275Mb)
OPEN_ACCESS_POLICY
Open Access Policy
Creative Commons Attribution-Noncommercial-Share Alike
Terms of use
Metadata
Show full item recordAbstract
We present AUTOGEN---an algorithm that for a wide class of dynamic programming (DP) problems automatically discovers highly efficient cache-oblivious parallel recursive divide-and-conquer algorithms from inefficient iterative descriptions of DP recurrences. AUTOGEN analyzes the set of DP table locations accessed by the iterative algorithm when run on a DP table of small size, and automatically identifies a recursive access pattern and a corresponding provably correct recursive algorithm for solving the DP recurrence. We use AUTOGEN to autodiscover efficient algorithms for several well-known problems. Our experimental results show that several autodiscovered algorithms significantly outperform parallel looping and tiled loop-based algorithms. Also these algorithms are less sensitive to fluctuations of memory and bandwidth compared with their looping counterparts, and their running times and energy profiles remain relatively more stable. To the best of our knowledge, AUTOGEN is the first algorithm that can automatically discover new nontrivial divide-and-conquer algorithms.
Date issued
2016-03Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory; Massachusetts Institute of Technology. Department of Electrical Engineering and Computer ScienceJournal
Proceedings of the 21st ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming - PPoPP '16
Publisher
Association for Computing Machinery
Citation
Chowdhury, Rezaul, et al. "AUTOGEN: Automatic Discovery of Cache-Oblivious Parallel Recursive Algorithms for Solving Dynamic Programs." PPoPP '16 Proceedings of the 21st ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming, 12-16 March, 2016, Barcelona, Spain, ACM Press, 2016, pp. 1–12.
Version: Author's final manuscript
ISBN
978-1-4503-4092-2