VOBLA: a vehicle for optimized basic linear algebra - Inria - Institut national de recherche en sciences et technologies du numérique
Communication Dans Un Congrès Année : 2014

VOBLA: a vehicle for optimized basic linear algebra

Résumé

We present VOBLA, a domain-specific language designed for programming linear algebra libraries. VOBLA is compiled to PENCIL, a domain independent intermediate language designed for efficient mapping to accelerator architectures such as GPGPUs. PENCIL is compiled to efficient, platform-specific OpenCL code using techniques based on the polyhedral model. This approach addresses both the programmer productivity and performance portability concerns associated with accelerator programming. We demonstrate our approach by using VOBLA to implement a BLAS library. We have evaluated the performance of OpenCL code generated using our compilation flow on ARM Mali, AMD Radeon, and AMD Opteron platforms. The generated code is currently on average 1.9x slower than highly hand-optimized OpenCL code, but on average 8.1x faster than straightforward OpenCL code. Given that the VOBLA coding takes significantly less effort compared to hand-optimizing OpenCL code, we believe our approach leads to improved productivity and performance portability.
Fichier non déposé

Dates et versions

hal-01508181 , version 1 (13-04-2017)

Identifiants

Citer

Ulysse Beaugnon, Alexey Kravets, Sven Van Haastregt, Mohamed Riyadh Baghdadi, David Tweed, et al.. VOBLA: a vehicle for optimized basic linear algebra. Proceedings of the 2014 SIGPLAN/SIGBED conference on Languages, compilers and tools for embedded systems (LCTES'14), Jun 2014, Edinburgh, United Kingdom. pp.115-124, ⟨10.1145/2666357.2597818⟩. ⟨hal-01508181⟩
198 Consultations
1 Téléchargements

Altmetric

Partager

More