Schedule Synthesis for Halide Pipelines on GPUs
Authors:
Open Access
- 3 August 2020
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 17 (3) , 1-25
Abstract
The Halide DSL and compiler have enabled high-performance code generation for image processing pipelines targeting heterogeneous architectures through the separation of algorithmic description and optimization schedule. However, automatic schedule generation is currently only possible for multi-core CPU architectures. As a result, expert knowledge is still required when optimizing for platforms with GPU capabilities. In this work, we extend the current Halide Autoscheduler with novel optimization passes to efficiently generate schedules for CUDA-based GPU architectures. We evaluate our proposed method across a variety of applications and show that it can achieve performance competitive with that of manually tuned Halide schedules, or in many cases even better performance. Experimental results show that our schedules are on average 10% faster than manual schedules and over 2× faster than previous autoscheduling attempts.Keywords
This publication has 19 references indexed in Scilit:
- Automatically scheduling halide image processing pipelinesACM Transactions on Graphics, 2016
- PolyMageACM SIGARCH Computer Architecture News, 2015
- Forma: a DSL for image processing applications to target GPUs and multi-core CPUs2015
- HIPAcc: A Domain-Specific Language and Compiler for Image ProcessingIEEE Transactions on Parallel and Distributed Systems, 2015
- OpenTuner2014
- Halide2013
- Polyhedral parallel code generation for CUDAACM Transactions on Architecture and Code Optimization, 2013
- Real-time computer vision with OpenCVCommunications of the ACM, 2012
- RooflineCommunications of the ACM, 2009
- Improving data locality with loop transformationsACM Transactions on Programming Languages and Systems, 1996