AutoParallel: A Python Module for Automatic Parallelization and Distributed Execution of Affine Loop Nests
Abstract: The latest improvements in programming languages, programming models, and frameworks have focused on abstracting the users from many programming issues. Among others, recent programming frameworks include simpler syntax, automatic memory management and garbage collection, simplifies code re-usage through library packages, and easily configurable tools for deployment. For instance, Python has raised to the top of the list of the programming languages due to the simplicity of its syntax, while still achieving a good performance even being an interpreted language. Moreover, the community has helped to develop a large number of libraries and modules, tuning the most commonly used to obtain great performance.
However, there is still room for improvement when preventing users from dealing directly with distributed and parallel issues. This paper proposes and evaluates AutoParallel, a Python module to automatically find an appropriate task-based parallelization of affine loop nests to execute them in parallel in a distributed computing infrastructure. This parallelization can also include the building of data blocks to increase task granularity in order to achieve a good execution performance. Moreover, AutoParallel is based on sequential programming and only contains a small annotation in the form of a Python decorator so that anyone with little programming skills can scale up an application to hundreds of cores.
Back to 8th Workshop on Python for High-Performance and Scientific Computing Archive Listing
Back to Full Workshop Archive Listing