Abstract
We present an approach for compiling a rich subset of APL into dataparallel programs that can be executed on GPUs. The compiler is based on the AplTail compiler, which compiles APL programs into a typed array intermediate language, called TAIL [11]. We translate TAIL programs into Haskell source code, employing Accelerate [6], a Haskell-library for general purpose GPU-programming. We demonstrate the feasibility of the approach by presenting some encouraging results for a number of smaller benchmarks. We also outline some problems that we need to overcome in order for the approach to result in competitive code for larger benchmarks.
Original language | English |
---|---|
Title of host publication | Proceedings of the 2nd ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming |
Number of pages | 6 |
Publisher | Association for Computing Machinery |
Publication date | 13 Jun 2015 |
Pages | 13-18 |
ISBN (Print) | 978-1-4503-3584-3 |
DOIs | |
Publication status | Published - 13 Jun 2015 |
Event | ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming 2015 - Portland, United States Duration: 13 Jun 2015 → 17 Jun 2015 Conference number: 2 |
Conference
Conference | ACM SIGPLAN International Workshop on Libraries, Languages, and Compilers for Array Programming 2015 |
---|---|
Number | 2 |
Country/Territory | United States |
City | Portland |
Period | 13/06/2015 → 17/06/2015 |